Click here to Skip to main content
15,909,737 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: Somewhat of a jem... Pin
Thomas Weller8-Feb-09 2:52
Thomas Weller8-Feb-09 2:52 
GeneralRe: Somewhat of a jem... Pin
supercat99-Feb-09 8:09
supercat99-Feb-09 8:09 
GeneralRe: Somewhat of a jem... Pin
leppie11-Feb-09 4:48
leppie11-Feb-09 4:48 
GeneralTrue/False Dichotomy Pin
Geoff Field2-Feb-09 15:31
Geoff Field2-Feb-09 15:31 
GeneralRe: True/False Dichotomy Pin
PIEBALDconsult2-Feb-09 16:05
mvePIEBALDconsult2-Feb-09 16:05 
GeneralRe: True/False Dichotomy [modified] Pin
Geoff Field2-Feb-09 16:09
Geoff Field2-Feb-09 16:09 
GeneralRe: True/False Dichotomy Pin
PIEBALDconsult2-Feb-09 16:24
mvePIEBALDconsult2-Feb-09 16:24 
GeneralRe: True/False Dichotomy PinPopular
ClementsDan2-Feb-09 17:14
ClementsDan2-Feb-09 17:14 
Many C compilers (and ancient C++ compilers) don't support the bool type. The expression (0==0) has the advantage of having type bool when possible and int otherwise.
GeneralRe: True/False Dichotomy Pin
Lutosław6-Feb-09 0:38
Lutosław6-Feb-09 0:38 
GeneralNot really a horror, but useless all the same Pin
Anthony Mushrow1-Feb-09 8:38
professionalAnthony Mushrow1-Feb-09 8:38 
GeneralRe: Not really a horror, but useless all the same Pin
Randor 1-Feb-09 15:08
professional Randor 1-Feb-09 15:08 
GeneralRe: Not really a horror, but useless all the same Pin
DePatrick1-Feb-09 18:26
DePatrick1-Feb-09 18:26 
GeneralRe: Not really a horror, but useless all the same Pin
Randor 2-Feb-09 0:01
professional Randor 2-Feb-09 0:01 
GeneralRe: Not really a horror, but useless all the same PinPopular
Luc Pattyn2-Feb-09 7:26
sitebuilderLuc Pattyn2-Feb-09 7:26 
GeneralRe: Not really a horror, but useless all the same Pin
PIEBALDconsult2-Feb-09 6:57
mvePIEBALDconsult2-Feb-09 6:57 
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 
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 

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.