Aktuelle Änderungen Printable View Änderungen Bearbeiten
PyWin32 > PythonWindowsProgramming > AdSense > Hackers > Hacker > HotSpot > Java > TimBray > Agility > AgileSoftwareEngineering > Parsing > UniCode > Eclipse > AlanKay > JavaNio > CodeGen > CodeGenerationClear TrailCode generators read a specification of abstract requirements as input, often as an XML file. Using templates, the generator then builds one or more output files based on the requirements.[1]
Java and C# are both such stifling languages that you need to be able to use code generators to make them effective.[2]
it became clear that many of the problems that code generators solve can be tackled instead using data driven programming techniques made possible by dynamic languages. Since we had already settled on Python as our implementation language the need for code generation became far less apparent, and we ended up avoiding it entirely with the exception of a command line tool for passvely generating basic templates for our admin interface.
We've always known that dynamic languages are a great way to create "little languages" for specific tasks. But we don't yet fully appreciate that all programming is a continuous process of language invention. And we don't (yet) evaluate programming-language productivity on those terms. .... We are linguistic animals endowed with a protean ability to generate language. Naturally we'll want that same generative power in our programming languages. [3]
Java and C# are both such stifling languages that you need to be able to use code generators to make them effective. [4]