Click here to Skip to main content
15,891,633 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: Not really a horror, but useless all the same Pin
Michael Bergman4-Feb-09 13:41
Michael Bergman4-Feb-09 13:41 
GeneralRe: Not really a horror, but useless all the same Pin
Megidolaon27-Feb-09 0:28
Megidolaon27-Feb-09 0:28 
GeneralZero-choice alternative Pin
Lutosław27-Jan-09 5:19
Lutosław27-Jan-09 5:19 
GeneralRe: Zero-choice alternative Pin
PIEBALDconsult27-Jan-09 5:44
mvePIEBALDconsult27-Jan-09 5:44 
GeneralRe: Zero-choice alternative Pin
Tony Pottier28-Jan-09 1:55
Tony Pottier28-Jan-09 1:55 
GeneralRe: Zero-choice alternative Pin
ClementsDan28-Jan-09 13:15
ClementsDan28-Jan-09 13:15 
GeneralRe: Zero-choice alternative Pin
supercat929-Jan-09 6:02
supercat929-Jan-09 6:02 
GeneralRe: Zero-choice alternative Pin
Bram Fokke6-Feb-09 1:28
Bram Fokke6-Feb-09 1:28 
Wouldn't float.IsNaN(x) be a more readable way to achieve that?
GeneralRe: Zero-choice alternative Pin
Megidolaon22-Feb-09 23:08
Megidolaon22-Feb-09 23:08 
GeneralRe: Zero-choice alternative Pin
KarstenK11-Feb-09 21:52
mveKarstenK11-Feb-09 21:52 
GeneralRe: Zero-choice alternative Pin
supercat927-Jan-09 6:49
supercat927-Jan-09 6:49 
GeneralRe: Zero-choice alternative Pin
Thomas Weller29-Jan-09 23:12
Thomas Weller29-Jan-09 23:12 
GeneralRe: Zero-choice alternative Pin
peterchen16-Feb-09 6:13
peterchen16-Feb-09 6:13 
JokeRe: Zero-choice alternative Pin
Chris Meech28-Jan-09 6:14
Chris Meech28-Jan-09 6:14 
JokeRe: Zero-choice alternative Pin
TommyTomToms28-Jan-09 6:30
TommyTomToms28-Jan-09 6:30 
GeneralRe: Zero-choice alternative Pin
Lutosław28-Jan-09 8:22
Lutosław28-Jan-09 8:22 
GeneralRe: Zero-choice alternative Pin
Thomas Weller29-Jan-09 23:05
Thomas Weller29-Jan-09 23:05 
GeneralRe: Zero-choice alternative Pin
Lutosław30-Jan-09 4:12
Lutosław30-Jan-09 4:12 
GeneralRe: Zero-choice alternative Pin
Thomas Weller31-Jan-09 1:49
Thomas Weller31-Jan-09 1:49 
GeneralRe: Zero-choice alternative Pin
supercat930-Jan-09 17:44
supercat930-Jan-09 17:44 
GeneralRe: Zero-choice alternative Pin
Thomas Weller31-Jan-09 1:50
Thomas Weller31-Jan-09 1:50 
GeneralRe: Zero-choice alternative Pin
itsravie3-Mar-09 0:17
itsravie3-Mar-09 0:17 
GeneralRe: Zero-choice alternative Pin
supercat95-Mar-09 7:17
supercat95-Mar-09 7:17 
GeneralRe: Zero-choice alternative Pin
cpkilekofp2-Feb-09 10:37
cpkilekofp2-Feb-09 10:37 
GeneralRe: Zero-choice alternative Pin
ClementsDan28-Jan-09 13:16
ClementsDan28-Jan-09 13:16 

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.