Link Details

Link 195032 thumbnail
User 225256 avatar

By mswatcher
via professionalaspnet.com
Published: Jun 19 2009 / 21:34

Several times over the past week I have had some conversations with folks about code generation, some pro (like me), some con and some that find it scary. My first real exposure to a serious code generation tool was at TechEd 2003 in Dallas. I remember an 8 AM session on the last day given by a Microsoft Engineer from Grenoble France
  • 11
  • 3
  • 1421
  • 588

Comments

Add your comment
User 207620 avatar

tgautier replied ago:

0 votes Vote down Vote up Reply

Maybe it's just me but if something can be automated it shouldn't be the creation of code. It should be a framework that does what you need it to do and doesn't require you to write a bunch of boilerplate code that can be written by a computer.

In other words, code generation sounds like a code smell to me. Take for instance EJB 2.0. There is no code generation in a Spring/Hibernate app, or EJB 3 app. Because the tedious repetitive boilerplate code that was required in EJB 2.0 was eliminated.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.