Code Generation Using T4 - Tuts+ Code Tutorial

added by Paul Wheeler
3/10/2014 5:07:26 PM

2 Kicks, 66 Views

I dislike code generation and usually, I see it as a "smell". If you are using code generation of any kind, there is a good chance something is wrong with your design or solution! So perhaps instead of writing a script to generate thousands lines of code, you should take a step back, think about your problem again and come up with a better solution. With that said, there are situations where code generation might be a good solution.