Click here to Skip to main content
15,891,951 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.

 
AnswerRe: anyone have any ideas for this problem? Pin
User 1106097925-Dec-19 3:36
User 1106097925-Dec-19 3:36 
AnswerRe: anyone have any ideas for this problem? Pin
PIEBALDconsult25-Dec-19 5:41
mvePIEBALDconsult25-Dec-19 5:41 
AnswerRe: anyone have any ideas for this problem? Pin
Jon McKee25-Dec-19 19:28
professionalJon McKee25-Dec-19 19:28 
GeneralRe: anyone have any ideas for this problem? Pin
honey the codewitch25-Dec-19 19:51
mvahoney the codewitch25-Dec-19 19:51 
AnswerRe: anyone have any ideas for this problem? Pin
Dan Sutton27-Dec-19 9:19
Dan Sutton27-Dec-19 9:19 
GeneralRe: anyone have any ideas for this problem? Pin
honey the codewitch28-Dec-19 0:02
mvahoney the codewitch28-Dec-19 0:02 
AnswerRe: anyone have any ideas for this problem? Pin
MikeCO1028-Dec-19 3:47
MikeCO1028-Dec-19 3:47 
GeneralRe: anyone have any ideas for this problem? Pin
honey the codewitch28-Dec-19 3:57
mvahoney the codewitch28-Dec-19 3:57 
I understand what you mean. This is my favorite reply, as you were very thorough.

This despite the fact that I've evaluated a lot of what you wrote and it's covered ground for me- I used to be a software architect by trade after I was strictly a developer. Still I appreciate the time and effort, and so I'm sure do people visiting the thread. Smile | :) Thank you for this.

I have run into some maintenance issues, but not insurmountable. I don't like how the code will look to me in a month, and so some refactoring is in order, but I haven't figured out which way to go with it.

A lot of times when I need ideas, I tend to go my own way, having received inspiration from others nonetheless. Asking helps "unblock" me, so don't worry about not being able to address my code without seeing it. I appreciate the input.

I think this is still best procedural, but maybe some of the arguments I pass could be encapsulated as structs or even classes. The other option is to go full bore and make a complete and sensible model out of the whole thing but this requires a lot of code I'll never use, despite being one of my go to techniques. For example I developed a document object model for my regular expressions even though I didn't absolutely need it. It was useful in some cases though. I don't believe that to be true of this particular bit of the code generation process.

Either that, or i haven't landed on the Right Way(TM) to do this and that's why I'm running into anti-patterns. Maybe there's a concise model I just haven't figured out.

I'm great at modeling though. It's one reason I became an architect - the ability to think in several levels of abstraction and model complicated systems even in my head. However, I'd be a fool to think I was the smartest person in any given room, so it's always possible someone more clever than me came up with A Better Way(TM) Smile | :)
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: anyone have any ideas for this problem? Pin
MikeCO1028-Dec-19 7:28
MikeCO1028-Dec-19 7:28 
GeneralToday, 20 years ago Pin
Mark_Wallace24-Dec-19 21:47
Mark_Wallace24-Dec-19 21:47 
GeneralRe: Today, 20 years ago Pin
RickZeeland24-Dec-19 22:22
mveRickZeeland24-Dec-19 22:22 
GeneralRe: Today, 20 years ago Pin
Mark_Wallace26-Dec-19 1:23
Mark_Wallace26-Dec-19 1:23 
GeneralRe: Today, 20 years ago Pin
RickZeeland26-Dec-19 2:54
mveRickZeeland26-Dec-19 2:54 
GeneralOliebollen en warme chocolademelk Pin
RickZeeland24-Dec-19 20:06
mveRickZeeland24-Dec-19 20:06 
GeneralRe: Oliebollen en warme chocolademelk Pin
Kornfeld Eliyahu Peter24-Dec-19 20:38
professionalKornfeld Eliyahu Peter24-Dec-19 20:38 
GeneralRe: Oliebollen en warme chocolademelk Pin
RickZeeland24-Dec-19 20:41
mveRickZeeland24-Dec-19 20:41 
GeneralRe: Oliebollen en warme chocolademelk Pin
Kornfeld Eliyahu Peter24-Dec-19 20:49
professionalKornfeld Eliyahu Peter24-Dec-19 20:49 
GeneralRe: Oliebollen en warme chocolademelk Pin
OriginalGriff24-Dec-19 21:12
mveOriginalGriff24-Dec-19 21:12 
GeneralRe: Oliebollen en warme chocolademelk Pin
Cp-Coder25-Dec-19 2:46
Cp-Coder25-Dec-19 2:46 
GeneralRe: Oliebollen en warme chocolademelk Pin
OriginalGriff25-Dec-19 3:35
mveOriginalGriff25-Dec-19 3:35 
GeneralRe: Oliebollen en warme chocolademelk Pin
Cp-Coder25-Dec-19 3:49
Cp-Coder25-Dec-19 3:49 
GeneralRe: Oliebollen en warme chocolademelk Pin
OriginalGriff24-Dec-19 21:10
mveOriginalGriff24-Dec-19 21:10 
GeneralRe: Oliebollen en warme chocolademelk Pin
Mark_Wallace24-Dec-19 21:48
Mark_Wallace24-Dec-19 21:48 
GeneralRe: Oliebollen en warme chocolademelk Pin
RickZeeland24-Dec-19 22:06
mveRickZeeland24-Dec-19 22:06 
GeneralRe: Oliebollen en warme chocolademelk Pin
Daniel Pfeffer25-Dec-19 0:13
professionalDaniel Pfeffer25-Dec-19 0:13 

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.