Click here to Skip to main content

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, embarrasing 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: Bug of the day PinmemberBobJanova14-Jun-13 4:31 
GeneralRe: Bug of the day PinmemberBobJanova14-Jun-13 4:30 
GeneralRe: Bug of the day PinmemberJacek Gajek14-Jun-13 5:31 
GeneralRe: Bug of the day PinprofessionalRavi Bhavnani12-Jun-13 6:42 
GeneralRe: Bug of the day [modified] Pinmember ProgramFOX14-Jun-13 3:23 
GeneralRe: Bug of the day Pinmemberanton_l12-Jun-13 20:53 
GeneralRe: Bug of the day PinmemberKP Lee13-Jun-13 21:45 
GeneralRe: Bug of the day PinmemberYvesDaoust12-Jun-13 22:08 
This is one of the dangers of C syntax (and friends). That's the price you pay for willing conciseness. Block-only statements like VB's
If Condition Then
  Statement
End If
or Modula's
IF Condition THEN
  Statement
END
are safer.
GeneralRe: Bug of the day PinmemberGary Wheeler13-Jun-13 1:13 
GeneralRe: Bug of the day PinmemberBobJanova13-Jun-13 1:54 
GeneralRe: Bug of the day PinmemberGary Wheeler13-Jun-13 2:08 
GeneralRe: Bug of the day PinmemberBobJanova13-Jun-13 3:12 
GeneralRe: Bug of the day PinmemberCornelius Henning13-Jun-13 5:13 
GeneralRe: Bug of the day PinmemberGary Wheeler13-Jun-13 5:21 
GeneralRe: Bug of the day Pinmembercjb11020-Jun-13 3:37 
GeneralRe: Bug of the day PinmemberGary Wheeler24-Jun-13 1:21 
GeneralRe: Bug of the day PinmemberStatementTerminator13-Jun-13 6:21 
JokeRe: Bug of the day PinprofessionalBernhard Hiller12-Jun-13 22:27 
GeneralRe: Bug of the day PinmemberR. Erasmus12-Jun-13 22:38 
GeneralRe: Bug of the day PinmemberFabio Franco13-Jun-13 2:21 
GeneralRe: Bug of the day Pinmembergervacleto13-Jun-13 3:24 
GeneralRe: Bug of the day PinmemberFabio Franco13-Jun-13 3:54 
GeneralRe: Bug of the day Pinmembergervacleto13-Jun-13 4:45 
GeneralRe: Bug of the day PinmemberPablo Aliskevicius13-Jun-13 4:53 
GeneralRe: Bug of the day PinmemberStatementTerminator13-Jun-13 6:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150327.1 | Last Updated 29 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid