Click here to Skip to main content
12,394,963 members (75,557 online)

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: Convert.ToInt32 Pin
robocodeboy2-Dec-13 1:06
memberrobocodeboy2-Dec-13 1:06 
GeneralRe: Convert.ToInt32 Pin
robocodeboy2-Dec-13 1:10
memberrobocodeboy2-Dec-13 1:10 
GeneralRe: Convert.ToInt32 Pin
Argonia2-Dec-13 1:18
memberArgonia2-Dec-13 1:18 
GeneralRe: Convert.ToInt32 Pin
robocodeboy2-Dec-13 2:27
memberrobocodeboy2-Dec-13 2:27 
GeneralRe: Convert.ToInt32 Pin
Argonia2-Dec-13 2:29
memberArgonia2-Dec-13 2:29 
GeneralRe: Convert.ToInt32 Pin
robocodeboy2-Dec-13 2:51
memberrobocodeboy2-Dec-13 2:51 
GeneralRe: Convert.ToInt32 Pin
Argonia2-Dec-13 3:19
memberArgonia2-Dec-13 3:19 
GeneralRe: Convert.ToInt32 Pin
robocodeboy2-Dec-13 3:39
memberrobocodeboy2-Dec-13 3:39 
GeneralRe: Convert.ToInt32 Pin
Argonia2-Dec-13 1:12
memberArgonia2-Dec-13 1:12 
GeneralRe: Convert.ToInt32 Pin
robocodeboy2-Dec-13 2:16
memberrobocodeboy2-Dec-13 2:16 
GeneralRe: Convert.ToInt32 Pin
JMK896-Dec-13 6:06
professionalJMK896-Dec-13 6:06 
General... WHY?! Pin
Matt U.19-Nov-13 8:09
memberMatt U.19-Nov-13 8:09 
GeneralRe: ... WHY?! Pin
Brisingr Aerowing19-Nov-13 9:16
professionalBrisingr Aerowing19-Nov-13 9:16 
GeneralRe: ... WHY?! Pin
Matt U.19-Nov-13 9:36
memberMatt U.19-Nov-13 9: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?! Pin
Brisingr Aerowing19-Nov-13 11:09
professionalBrisingr Aerowing19-Nov-13 11:09 
GeneralRe: ... WHY?! Pin
Quirkafleeg25-Nov-13 22:36
memberQuirkafleeg25-Nov-13 22:36 
GeneralRe: ... WHY?! Pin
Bernhard Hiller19-Nov-13 22:22
professionalBernhard Hiller19-Nov-13 22:22 
GeneralRe: ... WHY?! Pin
RyanDev20-Nov-13 1:24
memberRyanDev20-Nov-13 1:24 
GeneralRe: ... WHY?! Pin
Matt U.20-Nov-13 3:15
memberMatt U.20-Nov-13 3:15 
GeneralRe: ... WHY?! Pin
Bernhard Hiller20-Nov-13 23:12
professionalBernhard Hiller20-Nov-13 23:12 
GeneralRe: ... WHY?! Pin
Matt U.21-Nov-13 3:14
memberMatt U.21-Nov-13 3:14 
GeneralRe: ... WHY?! Pin
Bernhard Hiller21-Nov-13 21:56
professionalBernhard Hiller21-Nov-13 21:56 
GeneralRe: ... WHY?! Pin
Matt U.22-Nov-13 3:38
memberMatt U.22-Nov-13 3:38 
JokeRe: ... WHY?! Pin
walterhevedeich25-Nov-13 22:54
memberwalterhevedeich25-Nov-13 22:54 
GeneralRe: ... WHY?! Pin
Bernhard Hiller25-Nov-13 23:35
professionalBernhard Hiller25-Nov-13 23:35 
GeneralRe: ... WHY?! Pin
Giuseppe Tollini21-Nov-13 9:33
memberGiuseppe Tollini21-Nov-13 9:33 
GeneralRe: ... WHY?! Pin
Matt U.21-Nov-13 10:03
memberMatt U.21-Nov-13 10:03 
GeneralOver-documentation Pin
Ron Beyer16-Nov-13 14:46
professionalRon Beyer16-Nov-13 14:46 
GeneralRe: Over-documentation Pin
PIEBALDconsult16-Nov-13 15:15
professionalPIEBALDconsult16-Nov-13 15:15 
GeneralRe: Over-documentation Pin
OriginalGriff16-Nov-13 22:20
protectorOriginalGriff16-Nov-13 22:20 
GeneralRe: Over-documentation Pin
PIEBALDconsult17-Nov-13 5:26
professionalPIEBALDconsult17-Nov-13 5:26 
GeneralRe: Over-documentation Pin
OriginalGriff17-Nov-13 5:42
protectorOriginalGriff17-Nov-13 5:42 
GeneralRe: Over-documentation Pin
Max Methot28-Nov-13 5:01
memberMax Methot28-Nov-13 5:01 
GeneralRe: Over-documentation Pin
PIEBALDconsult28-Nov-13 5:45
professionalPIEBALDconsult28-Nov-13 5:45 
GeneralRe: Over-documentation Pin
Sander Rossel17-Nov-13 0:09
memberSander Rossel17-Nov-13 0:09 
GeneralRe: Over-documentation Pin
Ron Beyer17-Nov-13 5:21
professionalRon Beyer17-Nov-13 5:21 
GeneralRe: Over-documentation Pin
Sander Rossel17-Nov-13 6:54
memberSander Rossel17-Nov-13 6:54 
GeneralRe: Over-documentation Pin
ENOTTY18-Nov-13 5:24
memberENOTTY18-Nov-13 5:24 
GeneralRe: Over-documentation Pin
Ron Beyer18-Nov-13 5:41
professionalRon Beyer18-Nov-13 5:41 
GeneralRe: Over-documentation Pin
d@nish 17-Nov-13 6:20
member d@nish 17-Nov-13 6:20 
GeneralRe: Over-documentation Pin
Ron Beyer17-Nov-13 6:55
professionalRon Beyer17-Nov-13 6:55 
GeneralRe: Over-documentation Pin
Bernhard Hiller17-Nov-13 23:01
professionalBernhard Hiller17-Nov-13 23:01 
GeneralRe: Over-documentation Pin
ENOTTY18-Nov-13 5:05
memberENOTTY18-Nov-13 5:05 
GeneralRe: Over-documentation Pin
CPallini18-Nov-13 7:39
mvpCPallini18-Nov-13 7:39 
GeneralRe: Over-documentation Pin
Marc Clifton19-Nov-13 8:24
protectorMarc Clifton19-Nov-13 8:24 
GeneralRe: Over-documentation Pin
Stewart Judson20-Nov-13 0:49
memberStewart Judson20-Nov-13 0:49 
GeneralRe: Over-documentation Pin
Ron Beyer20-Nov-13 3:08
professionalRon Beyer20-Nov-13 3:08 
GeneralRe: Over-documentation Pin
s_mon25-Nov-13 9:56
members_mon25-Nov-13 9:56 
GeneralRe: Over-documentation Pin
Rob Grainger28-Nov-13 22:26
memberRob Grainger28-Nov-13 22:26 
GeneralRe: Over-documentation Pin
Vasudevan Deepak Kumar29-Nov-13 1:54
memberVasudevan Deepak Kumar29-Nov-13 1:54 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 23 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid