Click here to Skip to main content
15,915,019 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: Style and form in generated code Pin
kalberts27-Nov-19 1:56
kalberts27-Nov-19 1:56 
GeneralRe: Style and form in generated code Pin
honey the codewitch27-Nov-19 2:06
mvahoney the codewitch27-Nov-19 2:06 
GeneralRe: Style and form in generated code Pin
kalberts27-Nov-19 2:48
kalberts27-Nov-19 2:48 
GeneralRe: Style and form in generated code Pin
honey the codewitch27-Nov-19 2:51
mvahoney the codewitch27-Nov-19 2:51 
GeneralRe: Style and form in generated code Pin
Gary Wheeler27-Nov-19 1:58
Gary Wheeler27-Nov-19 1:58 
GeneralRe: Style and form in generated code Pin
honey the codewitch27-Nov-19 2:02
mvahoney the codewitch27-Nov-19 2:02 
GeneralRe: Style and form in generated code Pin
MSBassSinger27-Nov-19 4:47
professionalMSBassSinger27-Nov-19 4:47 
GeneralRe: Style and form in generated code Pin
honey the codewitch27-Nov-19 4:51
mvahoney the codewitch27-Nov-19 4:51 
Putting doc comments in the generated code is a good idea, but we part ways when it comes to where to document the "whys" - I prefer to document them in the generator, or the generator's rules, whichever is more appropriate.

But also it sounds like you and I tend to use generated code differently. You're doing it more "JUICE" style where you create a package and then the user includes that to handle all the boilerplate stuff based on some settings (or DB schemas or whatever) - then they take that project and use it as a starting point.

I tend to generate code from spec files, and the code is purely generated from those specfiles, including being regenerated when that spec file changes.

Most of my comment has to do with that latter method. I agree with you about a lot of your post, especially with the way you are using code generation. It's just that I don't typically use it that way. =)
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: Style and form in generated code Pin
Bruce Patin27-Nov-19 6:22
Bruce Patin27-Nov-19 6:22 
GeneralRe: Style and form in generated code Pin
honey the codewitch27-Nov-19 6:24
mvahoney the codewitch27-Nov-19 6:24 
GeneralRe: Style and form in generated code Pin
Member 1181677627-Nov-19 22:05
Member 1181677627-Nov-19 22:05 
GeneralRe: Style and form in generated code Pin
honey the codewitch27-Nov-19 22:08
mvahoney the codewitch27-Nov-19 22:08 
GeneralHow do you deal with impromptu design meetings with conflicting approaches? Pin
Marc Clifton26-Nov-19 3:28
mvaMarc Clifton26-Nov-19 3:28 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
Chris Maunder26-Nov-19 3:45
cofounderChris Maunder26-Nov-19 3:45 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
Marc Clifton26-Nov-19 3:58
mvaMarc Clifton26-Nov-19 3:58 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
Chris Maunder26-Nov-19 7:53
cofounderChris Maunder26-Nov-19 7:53 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
Jörgen Andersson26-Nov-19 4:09
professionalJörgen Andersson26-Nov-19 4:09 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
raddevus26-Nov-19 4:20
mvaraddevus26-Nov-19 4:20 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
F-ES Sitecore26-Nov-19 3:53
professionalF-ES Sitecore26-Nov-19 3:53 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
Eddy Vluggen26-Nov-19 3:58
professionalEddy Vluggen26-Nov-19 3:58 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
F-ES Sitecore26-Nov-19 4:03
professionalF-ES Sitecore26-Nov-19 4:03 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
Eddy Vluggen26-Nov-19 4:04
professionalEddy Vluggen26-Nov-19 4:04 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
Marc Clifton26-Nov-19 4:01
mvaMarc Clifton26-Nov-19 4:01 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
Daniel Pfeffer26-Nov-19 4:00
professionalDaniel Pfeffer26-Nov-19 4:00 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
Marc Clifton26-Nov-19 4:02
mvaMarc Clifton26-Nov-19 4:02 

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.