Click here to Skip to main content
15,888,968 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: Straight from the horse's mouth Pin
GibbleCH13-Feb-12 6:16
GibbleCH13-Feb-12 6:16 
GeneralRe: Straight from the horse's mouth Pin
Jeremy Hutchinson14-Feb-12 1:30
professionalJeremy Hutchinson14-Feb-12 1:30 
GeneralRe: Straight from the horse's mouth Pin
Vladimir Svyatski13-Feb-12 20:21
professionalVladimir Svyatski13-Feb-12 20:21 
GeneralRe: Straight from the horse's mouth Pin
Fran Porretto14-Feb-12 1:06
Fran Porretto14-Feb-12 1:06 
GeneralRe: Straight from the horse's mouth Pin
User 483504714-Feb-12 3:13
User 483504714-Feb-12 3:13 
GeneralRe: Straight from the horse's mouth Pin
BrainiacV14-Feb-12 3:58
BrainiacV14-Feb-12 3:58 
GeneralRe: Straight from the horse's mouth Pin
Massimo Perrone14-Feb-12 5:37
Massimo Perrone14-Feb-12 5:37 
GeneralRe: Straight from the horse's mouth Pin
Zan Lynx14-Feb-12 7:00
Zan Lynx14-Feb-12 7:00 
This could have been written because there is an annoying compiler warning with Visual Studio about coercing an integer to a boolean type.

Quite a lot of useless code has been written to silence compiler warnings.
GeneralRe: Straight from the horse's mouth Pin
AspDotNetDev14-Feb-12 7:33
protectorAspDotNetDev14-Feb-12 7:33 
GeneralRe: Straight from the horse's mouth Pin
  Forogar  14-Feb-12 7:49
professional  Forogar  14-Feb-12 7:49 
GeneralRe: Straight from the horse's mouth Pin
KP Lee14-Feb-12 12:51
KP Lee14-Feb-12 12:51 
GeneralRe: Straight from the horse's mouth Pin
Patrick Harris19-Feb-12 19:21
Patrick Harris19-Feb-12 19:21 
GeneralRe: Straight from the horse's mouth Pin
JackDingler14-Feb-12 8:31
JackDingler14-Feb-12 8:31 
GeneralRe: Straight from the horse's mouth Pin
Rob Grainger14-Feb-12 8:55
Rob Grainger14-Feb-12 8:55 
GeneralRe: Straight from the horse's mouth Pin
JackDingler14-Feb-12 9:02
JackDingler14-Feb-12 9:02 
GeneralRe: Straight from the horse's mouth Pin
patbob14-Feb-12 11:43
patbob14-Feb-12 11:43 
GeneralRe: Straight from the horse's mouth Pin
KP Lee14-Feb-12 13:54
KP Lee14-Feb-12 13:54 
GeneralRe: Straight from the horse's mouth Pin
K Quinn15-Feb-12 8:10
K Quinn15-Feb-12 8:10 
GeneralRe: Straight from the horse's mouth Pin
mbb0117-Feb-12 2:31
mbb0117-Feb-12 2:31 
GeneralRe: Straight from the horse's mouth Pin
Rob Grainger17-Feb-12 3:43
Rob Grainger17-Feb-12 3:43 
GeneralRe: Straight from the horse's mouth Pin
mbb0117-Feb-12 22:32
mbb0117-Feb-12 22:32 
GeneralDo you want string or string? Pin
BotCar9-Feb-12 21:10
BotCar9-Feb-12 21:10 
GeneralRe: Do you want string or string? Pin
GibbleCH10-Feb-12 3:41
GibbleCH10-Feb-12 3:41 
JokeRe: Do you want string or string? Pin
Chris Meech10-Feb-12 6:33
Chris Meech10-Feb-12 6:33 
GeneralRe: Do you want string or string? Pin
fjdiewornncalwe10-Feb-12 8:12
professionalfjdiewornncalwe10-Feb-12 8: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.