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: Convert.ToInt32 Pinmemberrobocodeboy2-Dec-13 2:06 
GeneralRe: Convert.ToInt32 Pinmemberrobocodeboy2-Dec-13 2:10 
GeneralRe: Convert.ToInt32 PinmemberArgonia2-Dec-13 2:18 
GeneralRe: Convert.ToInt32 Pinmemberrobocodeboy2-Dec-13 3:27 
GeneralRe: Convert.ToInt32 PinmemberArgonia2-Dec-13 3:29 
GeneralRe: Convert.ToInt32 Pinmemberrobocodeboy2-Dec-13 3:51 
GeneralRe: Convert.ToInt32 PinmemberArgonia2-Dec-13 4:19 
GeneralRe: Convert.ToInt32 Pinmemberrobocodeboy2-Dec-13 4:39 
GeneralRe: Convert.ToInt32 PinmemberArgonia2-Dec-13 2:12 
GeneralRe: Convert.ToInt32 Pinmemberrobocodeboy2-Dec-13 3:16 
GeneralRe: Convert.ToInt32 PinprofessionalJMK896-Dec-13 7:06 
General... WHY?! PinmemberMatt U.19-Nov-13 9:09 
GeneralRe: ... WHY?! PinprofessionalBrisingr Aerowing19-Nov-13 10:16 
GeneralRe: ... WHY?! PinmemberMatt U.19-Nov-13 10:36 
I had a difficult time understanding that as well. 'tWidth' is, in fact, an integer. In other places throughout the project it's used to store the width of certain widgets in a report. But this particular statement, I have no idea. That's literally all the code in it. It never references 'tWidth' in this particular section. *smh*
 
There are a ton of bad practices in this project. A lot of empty 'catch' statements after a large 'try' block and so forth. Almost *ZERO* comments. Blah, blah, blah. Frown | :(
djj55: Nice but may have a permission problem
Pete O'Hanlon: He has my permission to run it.

GeneralRe: ... WHY?! PinprofessionalBrisingr Aerowing19-Nov-13 12:09 
GeneralRe: ... WHY?! PinmemberQuirkafleeg25-Nov-13 23:36 
GeneralRe: ... WHY?! PinprofessionalBernhard Hiller19-Nov-13 23:22 
GeneralRe: ... WHY?! PinmemberRyanDev20-Nov-13 2:24 
GeneralRe: ... WHY?! PinmemberMatt U.20-Nov-13 4:15 
GeneralRe: ... WHY?! PinprofessionalBernhard Hiller21-Nov-13 0:12 
GeneralRe: ... WHY?! PinmemberMatt U.21-Nov-13 4:14 
GeneralRe: ... WHY?! PinprofessionalBernhard Hiller21-Nov-13 22:56 
GeneralRe: ... WHY?! PinmemberMatt U.22-Nov-13 4:38 
JokeRe: ... WHY?! Pinmemberwalterhevedeich25-Nov-13 23:54 
GeneralRe: ... WHY?! PinprofessionalBernhard Hiller26-Nov-13 0:35 
GeneralRe: ... WHY?! PinmemberGiuseppe Tollini21-Nov-13 10:33 
GeneralRe: ... WHY?! PinmemberMatt U.21-Nov-13 11:03 
GeneralOver-documentation PinprofessionalRon Beyer16-Nov-13 15:46 
GeneralRe: Over-documentation PinprofessionalPIEBALDconsult16-Nov-13 16:15 
GeneralRe: Over-documentation PinprotectorOriginalGriff16-Nov-13 23:20 
GeneralRe: Over-documentation PinprofessionalPIEBALDconsult17-Nov-13 6:26 
GeneralRe: Over-documentation PinprotectorOriginalGriff17-Nov-13 6:42 
GeneralRe: Over-documentation PinmemberMax Methot28-Nov-13 6:01 
GeneralRe: Over-documentation PinprofessionalPIEBALDconsult28-Nov-13 6:45 
GeneralRe: Over-documentation PinmemberSander Rossel17-Nov-13 1:09 
GeneralRe: Over-documentation PinprofessionalRon Beyer17-Nov-13 6:21 
GeneralRe: Over-documentation PinmemberSander Rossel17-Nov-13 7:54 
GeneralRe: Over-documentation [modified] PinmemberENOTTY18-Nov-13 6:24 
GeneralRe: Over-documentation PinprofessionalRon Beyer18-Nov-13 6:41 
GeneralRe: Over-documentation Pinmember d@nish 17-Nov-13 7:20 
GeneralRe: Over-documentation PinprofessionalRon Beyer17-Nov-13 7:55 
GeneralRe: Over-documentation PinprofessionalBernhard Hiller18-Nov-13 0:01 
GeneralRe: Over-documentation PinmemberENOTTY18-Nov-13 6:05 
GeneralRe: Over-documentation PinmvpCPallini18-Nov-13 8:39 
GeneralRe: Over-documentation PinprotectorMarc Clifton19-Nov-13 9:24 
GeneralRe: Over-documentation PinmemberStewart Judson20-Nov-13 1:49 
GeneralRe: Over-documentation PinprofessionalRon Beyer20-Nov-13 4:08 
GeneralRe: Over-documentation Pinmembers_mon25-Nov-13 10:56 
GeneralRe: Over-documentation PinmemberRob Grainger28-Nov-13 23:26 
GeneralRe: Over-documentation PinmemberVasudevan Deepak Kumar29-Nov-13 2:54 

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.150327.1 | Last Updated 31 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid