Click here to Skip to main content
15,885,932 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: Uh...check what? PinPopular
Ian Shlasko12-Aug-10 9:40
Ian Shlasko12-Aug-10 9:40 
GeneralRe: Uh...check what? Pin
Bigdeak12-Aug-10 19:42
Bigdeak12-Aug-10 19:42 
GeneralRe: Uh...check what? Pin
David Skelly12-Aug-10 22:33
David Skelly12-Aug-10 22:33 
GeneralRe: Uh...check what? Pin
Richard A. Dalton13-Aug-10 3:20
Richard A. Dalton13-Aug-10 3:20 
GeneralRe: Uh...check what? Pin
GibbleCH13-Aug-10 3:36
GibbleCH13-Aug-10 3:36 
GeneralRe: Uh...check what? Pin
AspDotNetDev13-Aug-10 12:08
protectorAspDotNetDev13-Aug-10 12:08 
GeneralRe: Uh...check what? Pin
TheyCallMeMrJames13-Aug-10 3:52
TheyCallMeMrJames13-Aug-10 3:52 
GeneralRe: Uh...check what? Pin
David Skelly13-Aug-10 4:30
David Skelly13-Aug-10 4:30 
Yes, I'm also familiar with NetBeans and Eclipse in the Java world, both of which allow you to put comments in like TODO or FIXME or indeed anything you want and associate that with a priority in the task list. There is also Checkstyle which is a Java tool for checking source code and one of the things it can scan for is TODO comments, etc.

It just happens to be a personal bug-bear for me, the way developers throw exclamation marks all over the place. How often have we seen error messages like:

File not found!


What exactly is the developer trying to convey to the user by including that exclamation mark? The file was not found - surprise! Or maybe: The file was not found - Oh My God! Or: The file was not found - HA HA HA!
GeneralRe: Uh...check what? Pin
Richard A. Dalton13-Aug-10 4:45
Richard A. Dalton13-Aug-10 4:45 
GeneralRe: Uh...check what? Pin
oggenok6414-Aug-10 11:27
oggenok6414-Aug-10 11:27 
GeneralRe: Uh...check what? Pin
BillW3325-Aug-10 6:21
professionalBillW3325-Aug-10 6:21 
Generaltop this PinPopular
bleedingfingers3-Aug-10 3:36
bleedingfingers3-Aug-10 3:36 
GeneralRe: top this PinPopular
elchupathingy3-Aug-10 4:18
elchupathingy3-Aug-10 4:18 
GeneralRe: top this Pin
harold aptroot3-Aug-10 4:50
harold aptroot3-Aug-10 4:50 
JokeRe: top this PinPopular
Andrew Rissing3-Aug-10 6:18
Andrew Rissing3-Aug-10 6:18 
GeneralRe: top this Pin
ricmil423-Aug-10 6:41
ricmil423-Aug-10 6:41 
GeneralRe: top this Pin
Andrew Rissing3-Aug-10 6:48
Andrew Rissing3-Aug-10 6:48 
GeneralRe: top this Pin
elchupathingy3-Aug-10 8:57
elchupathingy3-Aug-10 8:57 
GeneralRe: top this Pin
bleedingfingers3-Aug-10 9:23
bleedingfingers3-Aug-10 9:23 
GeneralRe: top this Pin
hohums23-Aug-10 21:37
hohums23-Aug-10 21:37 
GeneralRe: top this Pin
Yusuf4-Aug-10 13:30
Yusuf4-Aug-10 13:30 
GeneralRe: top this Pin
Chris Boden3-Aug-10 9:45
Chris Boden3-Aug-10 9:45 
GeneralRe: top this Pin
Jeroen De Dauw3-Aug-10 12:35
Jeroen De Dauw3-Aug-10 12:35 
GeneralRe: top this Pin
PIEBALDconsult3-Aug-10 15:28
mvePIEBALDconsult3-Aug-10 15:28 
GeneralRe: top this Pin
Joe Programm3r3-Aug-10 15:49
Joe Programm3r3-Aug-10 15:49 

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.