Click here to Skip to main content
15,879,326 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: Who needs a UL? Pin
Brisingr Aerowing17-Dec-12 4:46
professionalBrisingr Aerowing17-Dec-12 4:46 
GeneralRe: Who needs a UL? Pin
AnalogNerd17-Dec-12 4:52
AnalogNerd17-Dec-12 4:52 
GeneralRe: Who needs a UL? Pin
Brisingr Aerowing17-Dec-12 8:13
professionalBrisingr Aerowing17-Dec-12 8:13 
GeneralRe: Who needs a UL? Pin
Climate Turnip17-Dec-12 8:57
Climate Turnip17-Dec-12 8:57 
GeneralRe: Who needs a UL? Pin
Josh_T17-Dec-12 18:31
Josh_T17-Dec-12 18:31 
GeneralRe: Who needs a UL? Pin
AnalogNerd20-Dec-12 8:44
AnalogNerd20-Dec-12 8:44 
GeneralRe: Who needs a UL? Pin
Brisingr Aerowing20-Dec-12 9:53
professionalBrisingr Aerowing20-Dec-12 9:53 
GeneralFound this little gem in one of the applications Pin
dan!sh 13-Dec-12 6:01
professional dan!sh 13-Dec-12 6:01 
C#
private long _remainder = long.parse("0");


I wish I knew who wrote this. I would have recommended TryParse to him. Wink | ;)
"Bastards encourage idiots to use Oracle Forms, Web Forms, Access and a number of other dinky web publishing tolls.", Mycroft Holmes[^]

GeneralRe: Found this little gem in one of the applications Pin
OriginalGriff13-Dec-12 6:16
mveOriginalGriff13-Dec-12 6:16 
GeneralRe: Found this little gem in one of the applications Pin
RugbyLeague13-Dec-12 6:24
RugbyLeague13-Dec-12 6:24 
GeneralRe: Found this little gem in one of the applications Pin
dan!sh 13-Dec-12 6:35
professional dan!sh 13-Dec-12 6:35 
GeneralRe: Found this little gem in one of the applications Pin
Super Lloyd13-Dec-12 13:13
Super Lloyd13-Dec-12 13:13 
GeneralRe: Found this little gem in one of the applications Pin
Thomas Daniels13-Dec-12 7:21
mentorThomas Daniels13-Dec-12 7:21 
GeneralRe: Found this little gem in one of the applications Pin
Brisingr Aerowing13-Dec-12 6:29
professionalBrisingr Aerowing13-Dec-12 6:29 
GeneralRe: Found this little gem in one of the applications Pin
DrABELL13-Dec-12 7:12
DrABELL13-Dec-12 7:12 
GeneralRe: Found this little gem in one of the applications Pin
Dr.Walt Fair, PE13-Dec-12 8:12
professionalDr.Walt Fair, PE13-Dec-12 8:12 
GeneralRe: Found this little gem in one of the applications Pin
Super Lloyd13-Dec-12 13:15
Super Lloyd13-Dec-12 13:15 
GeneralRe: Found this little gem in one of the applications Pin
KP Lee17-Dec-12 8:06
KP Lee17-Dec-12 8:06 
GeneralRe: Found this little gem in one of the applications Pin
Super Lloyd17-Dec-12 16:58
Super Lloyd17-Dec-12 16:58 
GeneralRe: Found this little gem in one of the applications Pin
KP Lee18-Dec-12 6:29
KP Lee18-Dec-12 6:29 
GeneralRe: Found this little gem in one of the applications Pin
Super Lloyd18-Dec-12 12:52
Super Lloyd18-Dec-12 12:52 
GeneralFacepalm time. Pin
fjdiewornncalwe13-Dec-12 4:36
professionalfjdiewornncalwe13-Dec-12 4:36 
GeneralRe: Facepalm time. Pin
wout de zeeuw13-Dec-12 4:59
wout de zeeuw13-Dec-12 4:59 
GeneralRe: Facepalm time. Pin
fjdiewornncalwe13-Dec-12 6:44
professionalfjdiewornncalwe13-Dec-12 6:44 
GeneralRe: Facepalm time. Pin
Anna-Jayne Metcalfe13-Dec-12 22:34
Anna-Jayne Metcalfe13-Dec-12 22:34 

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.