Click here to Skip to main content
15,906,625 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.

 
JokeRe: I'm speechless about this piece of code. Pin
codemunkeh14-Nov-07 9:49
codemunkeh14-Nov-07 9:49 
GeneralRe: I'm speechless about this piece of code. Pin
Luc Pattyn12-Nov-07 4:50
sitebuilderLuc Pattyn12-Nov-07 4:50 
GeneralRe: I'm speechless about this piece of code. Pin
Pete O'Hanlon12-Nov-07 5:00
mvePete O'Hanlon12-Nov-07 5:00 
GeneralRe: I'm speechless about this piece of code. Pin
MidwestLimey12-Nov-07 7:26
professionalMidwestLimey12-Nov-07 7:26 
GeneralRe: I'm speechless about this piece of code. Pin
Ri Qen-Sin12-Nov-07 15:31
Ri Qen-Sin12-Nov-07 15:31 
GeneralRe: I'm speechless about this piece of code. Pin
Andy Brummer12-Nov-07 17:22
sitebuilderAndy Brummer12-Nov-07 17:22 
GeneralRe: I'm speechless about this piece of code. Pin
leppie12-Nov-07 8:09
leppie12-Nov-07 8:09 
GeneralRe: I'm speechless about this piece of code. Pin
Chris Meech12-Nov-07 8:24
Chris Meech12-Nov-07 8:24 
Except you forgot to convert the char types to some int type to ensure it would be a numeric comparison. Roll eyes | :rolleyes: Smile | :)

Chris Meech
I am Canadian. [heard in a local bar]
Donate to help Conquer Cancer[^]

GeneralRe: I'm speechless about this piece of code. [modified] Pin
Xiangyang Liu 刘向阳12-Nov-07 8:28
Xiangyang Liu 刘向阳12-Nov-07 8:28 
GeneralRe: I'm speechless about this piece of code. Pin
leppie12-Nov-07 20:11
leppie12-Nov-07 20:11 
GeneralRe: I'm speechless about this piece of code. Pin
darkelv12-Nov-07 13:05
darkelv12-Nov-07 13:05 
JokeRe: I'm speechless about this piece of code. Pin
Rajesh R Subramanian12-Nov-07 20:42
professionalRajesh R Subramanian12-Nov-07 20:42 
GeneralRe: I'm speechless about this piece of code. Pin
KarstenK12-Nov-07 21:23
mveKarstenK12-Nov-07 21:23 
GeneralRe: I'm speechless about this piece of code. Pin
Pete O'Hanlon12-Nov-07 21:49
mvePete O'Hanlon12-Nov-07 21:49 
JokeRe: I'm speechless about this piece of code. Pin
codemunkeh14-Nov-07 9:52
codemunkeh14-Nov-07 9:52 
GeneralSnobbish replies Pin
Michael Pauli15-Nov-07 2:48
Michael Pauli15-Nov-07 2:48 
GeneralRe: Snobbish replies Pin
Tony Wesley15-Nov-07 7:11
Tony Wesley15-Nov-07 7:11 
GeneralRe: I'm speechless about this piece of code. Pin
Tony Wesley15-Nov-07 5:40
Tony Wesley15-Nov-07 5:40 
GeneralRe: I'm speechless about this piece of code. Pin
Michael Pauli15-Nov-07 23:05
Michael Pauli15-Nov-07 23:05 
GeneralRe: I'm speechless about this piece of code. Pin
Tony Wesley16-Nov-07 6:20
Tony Wesley16-Nov-07 6:20 
Generalhelp pls Pin
FREAK880210-Nov-07 20:50
FREAK880210-Nov-07 20:50 
GeneralRe: help pls Pin
leppie11-Nov-07 1:17
leppie11-Nov-07 1:17 
GeneralRe: help pls Pin
Phil J Pearson11-Nov-07 3:02
Phil J Pearson11-Nov-07 3:02 
GeneralRe: help pls Pin
Luc Pattyn11-Nov-07 4:09
sitebuilderLuc Pattyn11-Nov-07 4:09 
GeneralRe: help pls Pin
Pete O'Hanlon11-Nov-07 10:12
mvePete O'Hanlon11-Nov-07 10: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.