Click here to Skip to main content
15,074,626 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 [two times modified] Pin
Clodetta del Mar12-Sep-13 9:51
MemberClodetta del Mar12-Sep-13 9:51 
GeneralRe: I, Moron Pin
Rage13-Sep-13 1:35
professionalRage13-Sep-13 1:35 
GeneralRe: I, Moron Pin
Clodetta del Mar13-Sep-13 1:36
MemberClodetta del Mar13-Sep-13 1:36 
GeneralRe: I, Moron Pin
Jarek Kruza16-Sep-13 0:33
MemberJarek Kruza16-Sep-13 0:33 
GeneralRe: I, Moron Pin
Clodetta del Mar16-Sep-13 0:53
MemberClodetta del Mar16-Sep-13 0:53 
GeneralRe: I, Moron Pin
imagiro14-Oct-13 6:05
Memberimagiro14-Oct-13 6:05 
GeneralWhat's missing? Pin
Gary Wheeler11-Sep-13 0:42
MemberGary Wheeler11-Sep-13 0:42 
GeneralRe: What's missing? Pin
OriginalGriff11-Sep-13 0:51
mveOriginalGriff11-Sep-13 0:51 
Laugh | :laugh:
I have gone the other way too many times, relying on the indentation...
if (_Framework.DuplexPlatform)
    Synchronize.Visibility = Visibility.Visible;
    Synchronize.Visibility = Visibility.Collapsed;

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
Gary Wheeler11-Sep-13 0:59
MemberGary 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
MemberGary Wheeler11-Sep-13 1:14 
GeneralRe: What's missing? Pin
OriginalGriff11-Sep-13 1:28
mveOriginalGriff11-Sep-13 1:28 
GeneralRe: What's missing? Pin
Freak3012-Sep-13 3:46
MemberFreak3012-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
MemberBernhard 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
MemberGiuseppe Tollini11-Sep-13 9:11 
GeneralRe: What's missing? Pin
BuggyTimes12-Sep-13 0:29
MemberBuggyTimes12-Sep-13 0:29 
GeneralRe: What's missing? Pin
Ingo12-Sep-13 1:12
MemberIngo12-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
MemberIngo12-Sep-13 1:48 
GeneralRe: What's missing? Pin
H.Brydon14-Sep-13 15:57
professionalH.Brydon14-Sep-13 15:57 

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.