Click here to Skip to main content
15,879,613 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: I, Moron Pin
Clodetta del Mar16-Sep-13 0:53
Clodetta del Mar16-Sep-13 0:53 
GeneralRe: I, Moron Pin
imagiro14-Oct-13 6:05
imagiro14-Oct-13 6:05 
GeneralWhat's missing? PinPopular
Gary Wheeler11-Sep-13 0:42
Gary Wheeler11-Sep-13 0:42 
GeneralRe: What's missing? Pin
OriginalGriff11-Sep-13 0:51
mveOriginalGriff11-Sep-13 0:51 
GeneralRe: What's missing? Pin
Gary Wheeler11-Sep-13 0:59
Gary Wheeler11-Sep-13 0:59 
GeneralRe: What's missing? Pin
OriginalGriff11-Sep-13 1:11
mveOriginalGriff11-Sep-13 1:11 
GeneralRe: What's missing? Pin
Gary Wheeler11-Sep-13 1:14
Gary Wheeler11-Sep-13 1:14 
GeneralRe: What's missing? Pin
OriginalGriff11-Sep-13 1:28
mveOriginalGriff11-Sep-13 1:28 
Not always: I'm happy with
C#
if (a == 1 && b == 2)
But I'd use em for
C#
if (a == 1 && (b == 2 || c == 3))
Or
C#
if ((a == 1 && b == 2) || c == 3)
Just to make it obvious what I meant.
This message is manufactured from fully recyclable noughts and ones. To recycle this message, please separate into two tidy piles, and take them to your nearest local recycling centre.
Please note that in some areas noughts are always replaced with zeros by law, and many facilities cannot recycle zeroes - in this case, please bury them in your back garden and water frequently.

GeneralRe: What's missing? Pin
Freak3012-Sep-13 3:46
Freak3012-Sep-13 3:46 
GeneralRe: What's missing? Pin
OriginalGriff12-Sep-13 3:55
mveOriginalGriff12-Sep-13 3:55 
GeneralRe: What's missing? Pin
Dennis_E11-Sep-13 23:09
professionalDennis_E11-Sep-13 23:09 
GeneralRe: What's missing? Pin
GuyThiebaut13-Sep-13 2:09
professionalGuyThiebaut13-Sep-13 2:09 
GeneralRe: What's missing? Pin
_Maxxx_8-Oct-13 16:00
professional_Maxxx_8-Oct-13 16:00 
GeneralRe: What's missing? Pin
Bernhard Hiller11-Sep-13 4:06
Bernhard Hiller11-Sep-13 4:06 
GeneralRe: What's missing? Pin
OriginalGriff11-Sep-13 4:56
mveOriginalGriff11-Sep-13 4:56 
GeneralRe: What's missing? Pin
Giuseppe Tollini11-Sep-13 9:11
Giuseppe Tollini11-Sep-13 9:11 
GeneralRe: What's missing? Pin
BuggyTimes12-Sep-13 0:29
BuggyTimes12-Sep-13 0:29 
GeneralRe: What's missing? Pin
Ingo12-Sep-13 1:12
Ingo12-Sep-13 1:12 
GeneralRe: What's missing? Pin
Richard Deeming12-Sep-13 1:43
mveRichard Deeming12-Sep-13 1:43 
GeneralRe: What's missing? Pin
Ingo12-Sep-13 1:48
Ingo12-Sep-13 1:48 
GeneralRe: What's missing? Pin
H.Brydon14-Sep-13 15:57
professionalH.Brydon14-Sep-13 15:57 
GeneralRe: What's missing? Pin
Nagy Vilmos11-Sep-13 1:59
professionalNagy Vilmos11-Sep-13 1:59 
GeneralRe: What's missing? Pin
Gary Wheeler11-Sep-13 2:02
Gary Wheeler11-Sep-13 2:02 
GeneralRe: What's missing? Pin
Lutosław13-Sep-13 2:46
Lutosław13-Sep-13 2:46 
GeneralRe: What's missing? Pin
BobJanova13-Sep-13 3:15
BobJanova13-Sep-13 3:15 

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.