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: Found this little gem in one of the applications PinmvpOriginalGriff13-Dec-12 6:16 
GeneralRe: Found this little gem in one of the applications PinmemberRugbyLeague13-Dec-12 6:24 
GeneralRe: Found this little gem in one of the applications Pinmember d@nish 13-Dec-12 6:35 
GeneralRe: Found this little gem in one of the applications PinmemberSuper Lloyd13-Dec-12 13:13 
GeneralRe: Found this little gem in one of the applications PinmemberProgramFOX13-Dec-12 7:21 
GeneralRe: Found this little gem in one of the applications PinmemberZac Greve13-Dec-12 6:29 
GeneralRe: Found this little gem in one of the applications PinmemberDrABELL13-Dec-12 7:12 
GeneralRe: Found this little gem in one of the applications PinsubeditorWalt Fair, Jr.13-Dec-12 8:12 
I would suggest the following:
 
private long _remainder = (long)int.parse((0).ToString());
CQ de W5ALT

Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software


GeneralRe: Found this little gem in one of the applications PinmemberSuper Lloyd13-Dec-12 13:15 
GeneralRe: Found this little gem in one of the applications PinmemberKP Lee17-Dec-12 8:06 
GeneralRe: Found this little gem in one of the applications PinmemberSuper Lloyd17-Dec-12 16:58 
GeneralRe: Found this little gem in one of the applications PinmemberKP Lee18-Dec-12 6:29 
GeneralRe: Found this little gem in one of the applications PinmemberSuper Lloyd18-Dec-12 12:52 
GeneralFacepalm time. PinmemberMarcus Kramer13-Dec-12 4:36 
GeneralRe: Facepalm time. Pinmemberwout de zeeuw13-Dec-12 4:59 
GeneralRe: Facepalm time. PinmemberMarcus Kramer13-Dec-12 6:44 
GeneralRe: Facepalm time. PinmemberAnna-Jayne Metcalfe13-Dec-12 22:34 
GeneralRe: Facepalm time. PinmemberKP Lee15-Dec-12 23:58 
NewsExtract from the code I'm working on PinmemberSuper Lloyd10-Dec-12 16:26 
GeneralRe: Extract from the code I'm working on PinmemberZac Greve10-Dec-12 17:57 
GeneralRe: Extract from the code I'm working on PinmemberSuper Lloyd10-Dec-12 18:13 
GeneralRe: Extract from the code I'm working on PinmemberKP Lee11-Dec-12 12:08 
GeneralRe: Extract from the code I'm working on PinmemberSuper Lloyd11-Dec-12 22:04 
GeneralRe: Extract from the code I'm working on PinmemberNemanja Trifunovic13-Dec-12 7:29 
GeneralRe: Extract from the code I'm working on PinmemberSuper Lloyd13-Dec-12 13:12 

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
Web01 | 2.8.140421.2 | Last Updated 24 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid