Click here to Skip to main content
12,454,477 members (56,359 online)

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralI don't know how to label this pattern. Pin
Andy Brummer23-Oct-13 11:54
sitebuilderAndy Brummer23-Oct-13 11:54 
GeneralRe: I don't know how to label this pattern. Pin
Brisingr Aerowing23-Oct-13 12:54
professionalBrisingr Aerowing23-Oct-13 12:54 
GeneralRe: I don't know how to label this pattern. Pin
Andy Brummer23-Oct-13 15:58
sitebuilderAndy Brummer23-Oct-13 15:58 
GeneralRe: I don't know how to label this pattern. Pin
Freak3023-Oct-13 22:43
memberFreak3023-Oct-13 22:43 
I guess the author thought, that for some reason the variable name (DocumentID) must be the same as in the command string he assigns it to. Why someone would think that is beyond me.
The good thing about pessimism is, that you are always either right or pleasently surprised.

GeneralCatastrophic Failure! Pin
Brisingr Aerowing18-Oct-13 11:15
professionalBrisingr Aerowing18-Oct-13 11:15 
GeneralRe: Catastrophic Failure! Pin
PIEBALDconsult18-Oct-13 13:27
professionalPIEBALDconsult18-Oct-13 13:27 
JokeRe: Catastrophic Failure! Pin
Matt T Heffron18-Oct-13 13:51
professionalMatt T Heffron18-Oct-13 13:51 
GeneralRe: Catastrophic Failure! Pin
PIEBALDconsult18-Oct-13 14:04
professionalPIEBALDconsult18-Oct-13 14:04 
GeneralRe: Catastrophic Failure! Pin
Brisingr Aerowing18-Oct-13 14:25
professionalBrisingr Aerowing18-Oct-13 14:25 
GeneralRe: Catastrophic Failure! Pin
vonb22-Oct-13 1:07
professionalvonb22-Oct-13 1:07 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160826.1 | Last Updated 30 Aug 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid