For the past three weeks I have been busy with one of those projects where next to no days were allocated to a certain module yet it requires as many days as the length of a piece of string... I am sure everyone gets these from time to time.
Like most people I do not like doing many of the repetititive tasks and so use CodeSmith
to help me out. I had cleared its stats counter before starting this module and was shocked to find that as-of today it had already generated more than 20,000 lines of code!!
Now, we use our own code generator to handle the data layer and these lines are not included in the 20,000 lines, so you can only begin to imagine how much time code generation can save you. If you don't already use a code generator then I suggest you spend a few hours looking into it. It will save you many days in the long run!