Click here to Skip to main content
15,921,622 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: Over-engineering Pin
OriginalGriff16-Mar-15 5:55
mveOriginalGriff16-Mar-15 5:55 
GeneralRe: Over-engineering Pin
Mark_Wallace16-Mar-15 10:13
Mark_Wallace16-Mar-15 10:13 
GeneralRe: Over-engineering Pin
R. Giskard Reventlov16-Mar-15 10:21
R. Giskard Reventlov16-Mar-15 10:21 
GeneralRe: Over-engineering Pin
manchanx16-Mar-15 6:01
professionalmanchanx16-Mar-15 6:01 
QuestionRe: Over-engineering Pin
Slacker00716-Mar-15 6:00
professionalSlacker00716-Mar-15 6:00 
AnswerRe: Over-engineering Pin
Tim Carmichael16-Mar-15 9:05
Tim Carmichael16-Mar-15 9:05 
GeneralRe: Over-engineering Pin
Slacker00716-Mar-15 9:08
professionalSlacker00716-Mar-15 9:08 
GeneralRe: Over-engineering Pin
Brady Kelly16-Mar-15 9:26
Brady Kelly16-Mar-15 9:26 
Sounds quite close to what I was reacquainted with today. It's a monster I coded up back in about September, where the project was still supposed to be a mere proof of concept, but this little baby (just a tiny, forgotten part of the code), is remarkable in how few lines of code it uses. I somehow skirted spending too much time on one little design problem by using dynamic to store a whole bunch of instantiated (i.e. typed) generics[1]. It's all been so invisible and working so nicely I never encountered it again until today; when you right-click a variable you suddenly find out is dynamic, and try "Go to declaration", Visual Studio just gives you the finger.

Not saying your watcher design is anything dodgy like my shortcut, but looking at my code now, it strikes me as quite a feat of 'over'-engineering. I could have just used a tag or something and with a tiny bit more work, avoided spending half a day trying to understand my own, only 6 month old, code.


[1] The correct term for a generic that has been given a fixed type escapes me.
No object is so beautiful that, under certain conditions, it will not look ugly. - Oscar Wilde


modified 16-Mar-15 16:34pm.

GeneralRe: Over-engineering Pin
TheGreatAndPowerfulOz16-Mar-15 9:43
TheGreatAndPowerfulOz16-Mar-15 9:43 
GeneralRe: Over-engineering Pin
Brady Kelly16-Mar-15 10:06
Brady Kelly16-Mar-15 10:06 
GeneralRe: Over-engineering Pin
TheGreatAndPowerfulOz16-Mar-15 10:21
TheGreatAndPowerfulOz16-Mar-15 10:21 
GeneralRe: Over-engineering Pin
Brady Kelly16-Mar-15 10:36
Brady Kelly16-Mar-15 10:36 
GeneralRe: Over-engineering Pin
Daniel Pfeffer17-Mar-15 0:31
professionalDaniel Pfeffer17-Mar-15 0:31 
GeneralAm I right or am I right? Pin
xiecsuk16-Mar-15 4:40
xiecsuk16-Mar-15 4:40 
GeneralRe: Am I right or am I right? Pin
Kornfeld Eliyahu Peter16-Mar-15 4:46
professionalKornfeld Eliyahu Peter16-Mar-15 4:46 
GeneralRe: Am I right or am I right? Pin
Nagy Vilmos16-Mar-15 4:49
professionalNagy Vilmos16-Mar-15 4:49 
GeneralRe: Am I right or am I right? Pin
OriginalGriff16-Mar-15 4:57
mveOriginalGriff16-Mar-15 4:57 
GeneralRe: Am I right or am I right? Pin
Nagy Vilmos16-Mar-15 5:01
professionalNagy Vilmos16-Mar-15 5:01 
GeneralRe: Am I right or am I right? Pin
den2k8816-Mar-15 5:00
professionalden2k8816-Mar-15 5:00 
GeneralRe: Am I right or am I right? Pin
Kornfeld Eliyahu Peter16-Mar-15 5:06
professionalKornfeld Eliyahu Peter16-Mar-15 5:06 
GeneralRe: Am I right or am I right? Pin
Bergholt Stuttley Johnson16-Mar-15 5:14
professionalBergholt Stuttley Johnson16-Mar-15 5:14 
GeneralRe: Am I right or am I right? Pin
OriginalGriff16-Mar-15 5:14
mveOriginalGriff16-Mar-15 5:14 
GeneralRe: Am I right or am I right? Pin
Bergholt Stuttley Johnson16-Mar-15 5:17
professionalBergholt Stuttley Johnson16-Mar-15 5:17 
GeneralRe: Am I right or am I right? Pin
PIEBALDconsult16-Mar-15 8:02
mvePIEBALDconsult16-Mar-15 8:02 
GeneralRe: Am I right or am I right? Pin
Richard Deeming16-Mar-15 5:12
mveRichard Deeming16-Mar-15 5:12 

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.