.Avery Blog

.NET and everything nice

More thoughts on Code Generation

"In short it came down to the fact that typing code statements is time consuming, boring and error prone, and has nothing to do with programming, which is defining algorithms, data-structures and functionality specifications, in a language independent way."

"I really feel sorry for those people who do not understand what power code generation really has. They are doomed to do boring work which can be done by computers in a fraction of the time without any error."

[Frans Bouma's blog]

"I think code generators are an extension of frameworks. With a framework (like .NET, Java, etc...) you've got a bunch of funcitonality pre-built for you -- this saves you time. With a code generator, you've got the ability to customize pre-built functionality. And you do it in a lot less time and with less debugging required. That's value."

[Patrick Steele's .NET Blog]

I think people need to realize that every time a new programming language is released, the amount of code you have to write decreases. Assembly -> C -> C++ -> C#, each hop resulted in less code to write. By using code generation you are simply following the trend of programming evolution, less time on grunt work coding and more time on what really matters like design and business logic.

-James

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required)