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 today PinmemberSuper Lloyd22-Jan-14 14:10 
GeneralAh the joys of working in a team PinmemberArgonia21-Jan-14 2:49 
GeneralRe: Ah the joys of working in a team PinprofessionalJMK8921-Jan-14 3:03 
GeneralRe: Ah the joys of working in a team PinmemberArgonia21-Jan-14 3:14 
GeneralRe: Ah the joys of working in a team PinmemberFreak3022-Jan-14 2:25 
GeneralRe: Ah the joys of working in a team PinprofessionalRavi Bhavnani21-Jan-14 3:37 
GeneralRe: Ah the joys of working in a team PinmemberShameel21-Jan-14 4:23 
GeneralRe: Ah the joys of working in a team PinprofessionalRavi Bhavnani21-Jan-14 5:58 
GeneralAnother gem from the VB6 code I'm "porting" PinmemberRob Grainger17-Jan-14 0:25 
GeneralRe: Another gem from the VB6 code I'm "porting" PinprofessionalNormDroid17-Jan-14 0:51 
GeneralRe: Another gem from the VB6 code I'm "porting" PinmemberRob Grainger17-Jan-14 1:01 
GeneralRe: Another gem from the VB6 code I'm "porting" PinmemberChris Quinn17-Jan-14 4:11 
GeneralRe: Another gem from the VB6 code I'm "porting" PinmemberRob Grainger17-Jan-14 4:16 
GeneralRe: Another gem from the VB6 code I'm "porting" PinprofessionalRichard Deeming17-Jan-14 2:33 
You missed one: it converts int_var (which is presumably a Long) to a String, and then relies on VB's implicit conversion to convert it back to a Long. D'Oh! | :doh:



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Another gem from the VB6 code I'm "porting" PinmemberRob Grainger17-Jan-14 4:10 
GeneralRe: Another gem from the VB6 code I'm "porting" PinprofessionalRichard Deeming17-Jan-14 4:35 
GeneralRe: Another gem from the VB6 code I'm "porting" PinmvpRon Beyer17-Jan-14 5:48 
GeneralRe: Another gem from the VB6 code I'm "porting" PinmemberFreak3020-Jan-14 0:41 
GeneralRe: Another gem from the VB6 code I'm "porting" PinmemberSentenryu20-Jan-14 5:00 
GeneralRe: Another gem from the VB6 code I'm "porting" PinprotectorMarc Clifton21-Jan-14 3:12 
GeneralA backslash in C++ PinmemberTsuda Kageyu14-Jan-14 21:56 
GeneralRe: A backslash in C++ PinmemberDuncan Edwards Jones14-Jan-14 22:02 
GeneralRe: A backslash in C++ PinprofessionalBernhard Hiller14-Jan-14 22:04 
GeneralRe: A backslash in C++ PinmemberTsuda Kageyu14-Jan-14 22:13 
GeneralRe: A backslash in C++ PinprofessionalBernhard Hiller14-Jan-14 22:44 
GeneralRe: A backslash in C++ PinprofessionalNicholas Marty15-Jan-14 1:43 
GeneralRe: A backslash in C++ PinmemberRob Grainger17-Jan-14 0:54 
GeneralRe: A backslash in C++ PinmemberJacek Gajek17-Jan-14 10:43 
GeneralRe: A backslash in C++ PinmemberArgonia14-Jan-14 22:25 
GeneralRe: A backslash in C++ PinprotectorPete O'Hanlon14-Jan-14 22:40 
GeneralRe: A backslash in C++ [modified] PinmemberArgonia14-Jan-14 22:50 
GeneralRe: A backslash in C++ PinprotectorPete O'Hanlon14-Jan-14 23:28 
GeneralRe: A backslash in C++ PinmemberSentenryu14-Jan-14 23:38 
GeneralRe: A backslash in C++ PinprotectorPete O'Hanlon14-Jan-14 23:45 
GeneralRe: A backslash in C++ PinmemberArgonia14-Jan-14 23:49 
GeneralRe: A backslash in C++ PinprotectorPete O'Hanlon14-Jan-14 23:52 
GeneralRe: A backslash in C++ PinmemberSentenryu15-Jan-14 0:08 
GeneralRe: A backslash in C++ PinprotectorPete O'Hanlon15-Jan-14 0:11 
GeneralRe: A backslash in C++ PinmemberSentenryu15-Jan-14 0:15 
GeneralRe: A backslash in C++ PinprotectorPete O'Hanlon15-Jan-14 0:24 
GeneralRe: A backslash in C++ PinprofessionalNagy Vilmos15-Jan-14 0:57 
GeneralRe: A backslash in C++ PinmemberSentenryu15-Jan-14 1:06 
GeneralRe: A backslash in C++ PinmemberChris Quinn15-Jan-14 0:55 
GeneralRe: A backslash in C++ PinprofessionalBrisingr Aerowing15-Jan-14 15:34 
GeneralRe: A backslash in C++ PinmemberIm_no_troll23-Jan-14 6:15 
GeneralRe: A backslash in C++ PinprofessionalBrisingr Aerowing10-Feb-14 16:29 
GeneralRe: A backslash in C++ PinmemberIm_no_troll23-Jan-14 6:14 
GeneralRe: A backslash in C++ PinmemberArgonia14-Jan-14 23:46 
GeneralRe: A backslash in C++ PinprofessionalNagy Vilmos15-Jan-14 0:59 
GeneralRe: A backslash in C++ PinmemberArgonia15-Jan-14 1:02 

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
Web04 | 2.8.141216.1 | Last Updated 18 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid