Click here to Skip to main content
15,895,084 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: Brilliant Logic....for checking NANs Pin
AspDotNetDev4-May-11 6:39
protectorAspDotNetDev4-May-11 6:39 
GeneralRe: Brilliant Logic....for checking NANs <- portable Pin
Kevin Drzycimski8-May-11 6:53
Kevin Drzycimski8-May-11 6:53 
GeneralRe: Brilliant Logic....for checking NANs Pin
AspDotNetDev4-May-11 6:44
protectorAspDotNetDev4-May-11 6:44 
JokeRe: Brilliant Logic Pin
Marc A. Brown4-May-11 5:20
Marc A. Brown4-May-11 5:20 
GeneralRe: Brilliant Logic Pin
gavindon4-May-11 12:00
gavindon4-May-11 12:00 
GeneralRe: Brilliant Logic Pin
RobCroll6-May-11 3:17
RobCroll6-May-11 3:17 
JokeRe: Brilliant Logic Pin
Dr.Luiji6-May-11 5:47
professionalDr.Luiji6-May-11 5:47 
GeneralRe: Brilliant Logic for the UN and bankers PinPopular
Bob10006-May-11 5:56
professionalBob10006-May-11 5:56 
This a standard design pattern (SDP) used by Governments, NATO, UN etc in deciding when to take action when civilians are being killed or persecuted

"No matter what - don't doing anything"

Clearly the designer is very well read and is destined for great things.

Note:
The design pattern is also used in banking to calculate if the bonus should be

a. Very large
or
b. Just embarrassingly large.

Athough it has to be admitted the design pattern is somewhat flawed as no banker has ever been embarrassed!
GeneralRe: Brilliant Logic Pin
Marbry Hardin6-May-11 6:52
Marbry Hardin6-May-11 6:52 
GeneralRe: Brilliant Logic Pin
Sterling Camden / independent consultant6-May-11 7:36
Sterling Camden / independent consultant6-May-11 7:36 
GeneralRe: Brilliant Logic [modified] Pin
R. Erasmus8-May-11 21:37
R. Erasmus8-May-11 21:37 
GeneralI vomitted Pin
5fingers28-Apr-11 0:33
5fingers28-Apr-11 0:33 
GeneralRe: I vomitted Pin
StM0n28-Apr-11 4:06
StM0n28-Apr-11 4:06 
GeneralRe: I vomitted PinPopular
Chris Meech28-Apr-11 4:23
Chris Meech28-Apr-11 4:23 
RantRe: I vomitted Pin
Philip.F28-Apr-11 8:12
Philip.F28-Apr-11 8:12 
GeneralRe: I vomitted Pin
Sander Rossel28-Apr-11 9:43
professionalSander Rossel28-Apr-11 9:43 
GeneralRe: I vomitted PinPopular
AspDotNetDev28-Apr-11 13:13
protectorAspDotNetDev28-Apr-11 13:13 
GeneralRe: I vomitted Pin
Dirk Higbee2-May-11 6:45
Dirk Higbee2-May-11 6:45 
GeneralRe: I vomitted Pin
gavindon2-May-11 8:10
gavindon2-May-11 8:10 
GeneralRe: I vomitted Pin
AspDotNetDev2-May-11 8:16
protectorAspDotNetDev2-May-11 8:16 
GeneralRe: I vomitted Pin
gavindon2-May-11 8:23
gavindon2-May-11 8:23 
GeneralRe: I vomitted Pin
AspDotNetDev2-May-11 9:24
protectorAspDotNetDev2-May-11 9:24 
GeneralRe: I vomitted Pin
gavindon2-May-11 9:25
gavindon2-May-11 9:25 
GeneralRe: I vomitted Pin
Chris Meech3-May-11 4:41
Chris Meech3-May-11 4:41 
GeneralI Hate Clever Javascript Programmers [modified] PinPopular
#realJSOP26-Apr-11 4:03
mve#realJSOP26-Apr-11 4:03 

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.