Click here to Skip to main content
15,891,607 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: 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 
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 
That's true.

But in that case it has to be made explicit in the code, either by using comments or a critical section or whatever may be appropriate.

Otherwise it would indeed be a very severe coding horror (since it could cause an error that would be very hard to find...) Dead | X| .

www.thomas-weller.de

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Programmer - an organism that turns coffee into software.


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 
GeneralRe: Zero-choice alternative Pin
Lutosław28-Jan-09 13:58
Lutosław28-Jan-09 13:58 
General16 layers of ifs, Who dare challenge this? Pin
kingsimba051119-Jan-09 17:47
kingsimba051119-Jan-09 17:47 
GeneralRe: 16 layers of ifs, Who dare challenge this? Pin
Malli_S19-Jan-09 20:25
Malli_S19-Jan-09 20:25 
GeneralRe: 16 layers of ifs, Who dare challenge this? Pin
gri19-Jan-09 21:25
gri19-Jan-09 21:25 

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.