Click here to Skip to main content
15,890,336 members

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.

 
GeneralRe: Bug of the day Pin
Ravi Bhavnani23-Oct-12 5:09
professionalRavi Bhavnani23-Oct-12 5:09 
GeneralRe: Bug of the day Pin
Christoph Keller23-Oct-12 5:19
Christoph Keller23-Oct-12 5:19 
GeneralRe: Bug of the day Pin
Chris Meech23-Oct-12 5:24
Chris Meech23-Oct-12 5:24 
GeneralRe: Bug of the day Pin
Sentenryu23-Oct-12 5:28
Sentenryu23-Oct-12 5:28 
GeneralRe: Bug of the day Pin
OriginalGriff23-Oct-12 8:15
mveOriginalGriff23-Oct-12 8:15 
GeneralRe: Bug of the day Pin
Sentenryu23-Oct-12 8:37
Sentenryu23-Oct-12 8:37 
GeneralRe: Bug of the day Pin
fjdiewornncalwe23-Oct-12 8:55
professionalfjdiewornncalwe23-Oct-12 8:55 
GeneralRe: Bug of the day Pin
Sentenryu23-Oct-12 23:27
Sentenryu23-Oct-12 23:27 
That would make sense, but only if the logic is just to validate the value, and i can't think of a case where doing MyProp = MyProp should do something D'Oh! | :doh:

Converselly, i had to port a system, writen in vb 6, where all the properties had a explicit check for this, because otherwise this case would screw everything D'Oh! | :doh:

Oh that moments when you catch yourself thinking if the original coder had too much or too little cafeine in their blood...
I'm brazilian and english (well, human languages in general) aren't my best skill, so, sorry by my english. (if you want we can speak in C# or VB.Net =p)

GeneralRe: Bug of the day Pin
BobJanova23-Oct-12 23:55
BobJanova23-Oct-12 23:55 
GeneralRe: Bug of the day Pin
Jan Steyn24-Oct-12 21:48
Jan Steyn24-Oct-12 21:48 
GeneralMessage Removed Pin
22-Oct-12 18:39
Aadhar Joshi22-Oct-12 18:39 
GeneralWhat was the most interesting, funny or silly Code you have ever read? PinPopular
Member 858314522-Oct-12 0:36
Member 858314522-Oct-12 0:36 
GeneralRe: What was the most interesting, funny or silly Code you have ever read? PinPopular
LloydA11122-Oct-12 0:58
LloydA11122-Oct-12 0:58 
GeneralRe: What was the most interesting, funny or silly Code you have ever read? PinPopular
Rage22-Oct-12 1:41
professionalRage22-Oct-12 1:41 
GeneralRe: What was the most interesting, funny or silly Code you have ever read? Pin
Member 460889823-Oct-12 18:27
Member 460889823-Oct-12 18:27 
GeneralRe: What was the most interesting, funny or silly Code you have ever read? Pin
jsc4226-Oct-12 1:27
professionaljsc4226-Oct-12 1:27 
GeneralRe: What was the most interesting, funny or silly Code you have ever read? Pin
Doug Henderson28-Oct-12 0:49
Doug Henderson28-Oct-12 0:49 
GeneralRe: What was the most interesting, funny or silly Code you have ever read? Pin
OriginalGriff28-Oct-12 1:48
mveOriginalGriff28-Oct-12 1:48 
GeneralRe: What was the most interesting, funny or silly Code you have ever read? PinPopular
Simon_Whale22-Oct-12 1:15
Simon_Whale22-Oct-12 1:15 
GeneralRe: What was the most interesting, funny or silly Code you have ever read? Pin
Aadhar Joshi22-Oct-12 2:02
Aadhar Joshi22-Oct-12 2:02 
GeneralRe: What was the most interesting, funny or silly Code you have ever read? PinPopular
Bernhard Hiller22-Oct-12 2:42
Bernhard Hiller22-Oct-12 2:42 
GeneralRe: What was the most interesting, funny or silly Code you have ever read? Pin
Fabio Franco23-Oct-12 3:13
professionalFabio Franco23-Oct-12 3:13 
GeneralRe: What was the most interesting, funny or silly Code you have ever read? Pin
jsc4226-Oct-12 1:32
professionaljsc4226-Oct-12 1:32 
GeneralRe: What was the most interesting, funny or silly Code you have ever read? Pin
Fabio Franco26-Oct-12 2:15
professionalFabio Franco26-Oct-12 2:15 
GeneralRe: What was the most interesting, funny or silly Code you have ever read? Pin
jsc4226-Oct-12 2:45
professionaljsc4226-Oct-12 2:45 

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.