Click here to Skip to main content
15,923,281 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: New band! Pin
Gary Wheeler11-Oct-13 7:06
Gary Wheeler11-Oct-13 7:06 
QuestionGeneral code generation template system Pin
Chris Maunder11-Oct-13 4:43
cofounderChris Maunder11-Oct-13 4:43 
AnswerRe: General code generation template system Pin
Nagy Vilmos11-Oct-13 5:22
professionalNagy Vilmos11-Oct-13 5:22 
GeneralRe: General code generation template system Pin
Chris Maunder11-Oct-13 5:31
cofounderChris Maunder11-Oct-13 5:31 
GeneralRe: General code generation template system Pin
Nagy Vilmos11-Oct-13 5:39
professionalNagy Vilmos11-Oct-13 5:39 
GeneralRe: General code generation template system Pin
Dan Neely11-Oct-13 7:19
Dan Neely11-Oct-13 7:19 
AnswerRe: General code generation template system Pin
Andy Brummer11-Oct-13 6:25
sitebuilderAndy Brummer11-Oct-13 6:25 
AnswerRe: General code generation template system Pin
Ian Shlasko11-Oct-13 6:35
Ian Shlasko11-Oct-13 6:35 
T4 is useful... I use it extensively whenever I'm making a proxy layer in .NET. A little reflection to iterate over the classes and methods, pick up attributes to modify the template behavior, and generate one giant file full of partial classes with boilerplate code.

Debugging it is a pain though.

Oh, and unless you install an extension or a pre-build script or something, it doesn't automatically update. Gotta open up the T4 template and Save, and that will re-generate the output file. THEN compile.
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

GeneralRe: General code generation template system Pin
Andy Brummer11-Oct-13 7:01
sitebuilderAndy Brummer11-Oct-13 7:01 
GeneralRe: General code generation template system Pin
Ian Shlasko11-Oct-13 7:23
Ian Shlasko11-Oct-13 7:23 
AnswerRe: General code generation template system Pin
jschell11-Oct-13 9:49
jschell11-Oct-13 9:49 
GeneralRe: General code generation template system Pin
Chris Maunder11-Oct-13 13:50
cofounderChris Maunder11-Oct-13 13:50 
GeneralRe: General code generation template system Pin
Matthew Dennis12-Oct-13 12:23
sysadminMatthew Dennis12-Oct-13 12:23 
GeneralRe: General code generation template system Pin
AspDotNetDev13-Oct-13 13:17
protectorAspDotNetDev13-Oct-13 13:17 
AnswerRe: General code generation template system Pin
Brisingr Aerowing14-Oct-13 5:51
professionalBrisingr Aerowing14-Oct-13 5:51 
GeneralThis is what the internet was invented for Pin
Dalek Dave11-Oct-13 4:32
professionalDalek Dave11-Oct-13 4:32 
GeneralRe: This is what the internet was invented for Pin
DaveAuld11-Oct-13 4:42
professionalDaveAuld11-Oct-13 4:42 
GeneralRe: This is what the internet was invented for Pin
Dalek Dave11-Oct-13 4:44
professionalDalek Dave11-Oct-13 4:44 
GeneralRe: This is what the internet was invented for Pin
DaveAuld11-Oct-13 4:49
professionalDaveAuld11-Oct-13 4:49 
GeneralRe: This is what the internet was invented for Pin
Dalek Dave11-Oct-13 4:56
professionalDalek Dave11-Oct-13 4:56 
GeneralRe: This is what the internet was invented for Pin
Nagy Vilmos11-Oct-13 5:24
professionalNagy Vilmos11-Oct-13 5:24 
GeneralFINALLY! Pin
Brisingr Aerowing11-Oct-13 4:24
professionalBrisingr Aerowing11-Oct-13 4:24 
GeneralRe: FINALLY! PinPopular
harold aptroot11-Oct-13 4:33
harold aptroot11-Oct-13 4:33 
GeneralRe: FINALLY! Pin
Brisingr Aerowing11-Oct-13 5:02
professionalBrisingr Aerowing11-Oct-13 5:02 
GeneralPhrases That Don't Make Sense Pin
MehGerbil11-Oct-13 3:52
MehGerbil11-Oct-13 3:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.