Click here to Skip to main content
15,893,588 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: Magic numbers! An so many! EEEEEEEK! Pin
Rajesh R Subramanian10-Sep-07 23:51
professionalRajesh R Subramanian10-Sep-07 23:51 
GeneralRe: Magic numbers! An so many! EEEEEEEK! Pin
jhwurmbach10-Sep-07 23:52
jhwurmbach10-Sep-07 23:52 
GeneralRe: Magic numbers! An so many! EEEEEEEK! Pin
BadKarma10-Sep-07 23:53
BadKarma10-Sep-07 23:53 
GeneralRe: Magic numbers! An so many! EEEEEEEK! Pin
Rajesh R Subramanian11-Sep-07 0:00
professionalRajesh R Subramanian11-Sep-07 0:00 
GeneralRe: Magic numbers! An so many! EEEEEEEK! Pin
Ed.Poore11-Sep-07 0:06
Ed.Poore11-Sep-07 0:06 
GeneralRe: Magic numbers! An so many! EEEEEEEK! Pin
Rajesh R Subramanian11-Sep-07 0:17
professionalRajesh R Subramanian11-Sep-07 0:17 
GeneralRe: Magic numbers! An so many! EEEEEEEK! Pin
Ed.Poore11-Sep-07 2:47
Ed.Poore11-Sep-07 2:47 
GeneralRe: Magic numbers! An so many! EEEEEEEK! Pin
Vasudevan Deepak Kumar11-Sep-07 4:57
Vasudevan Deepak Kumar11-Sep-07 4:57 
brahmma wrote:
the coder did not know of the term called "decrement operator"


I am reminded of Abhimanyu's story (http://en.wikipedia.org/wiki/Abhimanyu[^]) This guy knew one part of story of incrementing the variable but not the other part of decrementing it. Big Grin | :-D

Vasudevan Deepak Kumar
Personal Homepage
Tech Gossips

GeneralRe: Magic numbers! An so many! EEEEEEEK! Pin
Rajesh R Subramanian12-Sep-07 5:12
professionalRajesh R Subramanian12-Sep-07 5:12 
GeneralRe: Magic numbers! An so many! EEEEEEEK! Pin
PIEBALDconsult12-Sep-07 6:54
mvePIEBALDconsult12-Sep-07 6:54 
GeneralRe: Magic numbers! An so many! EEEEEEEK! Pin
Pete O'Hanlon12-Sep-07 10:33
mvePete O'Hanlon12-Sep-07 10:33 
GeneralRe: Magic numbers! An so many! EEEEEEEK! Pin
Luc Pattyn12-Sep-07 15:11
sitebuilderLuc Pattyn12-Sep-07 15:11 
GeneralRe: Magic numbers! An so many! EEEEEEEK! Pin
Manuel F. Hernandez13-Sep-07 6:45
Manuel F. Hernandez13-Sep-07 6:45 
GeneralRe: Magic numbers! An so many! EEEEEEEK! Pin
leppie11-Sep-07 0:23
leppie11-Sep-07 0:23 
GeneralRe: Magic numbers! An so many! EEEEEEEK! Pin
peterchen12-Sep-07 23:19
peterchen12-Sep-07 23:19 
GeneralRe: if if if if if if Pin
cp987611-Sep-07 1:51
cp987611-Sep-07 1:51 
GeneralRe: if if if if if if Pin
Llasus11-Sep-07 14:30
Llasus11-Sep-07 14:30 
GeneralRe: if if if if if if Pin
Rajesh R Subramanian11-Sep-07 23:34
professionalRajesh R Subramanian11-Sep-07 23:34 
GeneralRe: if if if if if if Pin
cp987612-Sep-07 2:00
cp987612-Sep-07 2:00 
GeneralRe: if if if if if if Pin
Rajesh R Subramanian12-Sep-07 3:29
professionalRajesh R Subramanian12-Sep-07 3:29 
GeneralRe: if if if if if if Pin
KarstenK11-Sep-07 2:30
mveKarstenK11-Sep-07 2:30 
GeneralRe: if if if if if if Pin
Rajesh R Subramanian11-Sep-07 23:30
professionalRajesh R Subramanian11-Sep-07 23:30 
GeneralRe: if if if if if if Pin
KarstenK12-Sep-07 0:12
mveKarstenK12-Sep-07 0:12 
GeneralRe: if if if if if if Pin
Rajesh R Subramanian12-Sep-07 0:13
professionalRajesh R Subramanian12-Sep-07 0:13 
JokeRe: if if if if if if Pin
Pete O'Hanlon11-Sep-07 5:12
mvePete O'Hanlon11-Sep-07 5: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.