Click here to Skip to main content
15,897,519 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: top this [modified] PinPopular
CDP18023-Aug-10 22:32
CDP18023-Aug-10 22:32 
GeneralRe: top this Pin
imagiro4-Aug-10 4:50
imagiro4-Aug-10 4:50 
GeneralRe: top this Pin
CDP18024-Aug-10 21:08
CDP18024-Aug-10 21:08 
GeneralRe: top this Pin
imagiro5-Aug-10 1:05
imagiro5-Aug-10 1:05 
GeneralRe: top this Pin
CDP18025-Aug-10 1:11
CDP18025-Aug-10 1:11 
GeneralRe: top this Pin
Michael Eber10-Aug-10 9:09
Michael Eber10-Aug-10 9:09 
JokeRe: top this Pin
Yusuf4-Aug-10 13:31
Yusuf4-Aug-10 13:31 
GeneralRe: top this Pin
CDP18024-Aug-10 21:20
CDP18024-Aug-10 21:20 
Oh yes. I doubt this man ever distinguished between production code or any other kind. And testing goes only far enough to sucessfully eliminate any exceptions by catching them in empty catch blocks. After that we can simply pretend that nothing happened and the man never even tried to get the thing working properly. This way everything appears to be ok and the users don't even suspect how bad the program really is.

I am completing an entirely new application to replace it and ironically the users keep complaining about error messages which correctly report any inconsistencies in the database. They refuse to believe that the 'good' old application simply swept all errors under the rug.
A while ago he asked me what he should have printed on my business cards. I said 'Wizard'.

I read books which nobody else understand. Then I do something which nobody understands. After that the computer does something which nobody understands. When asked, I say things about the results which nobody understand. But everybody expects miracles from me on a regular basis. Looks to me like the classical definition of a wizard.

GeneralRe: top this Pin
mr_lasseter8-Aug-10 3:55
mr_lasseter8-Aug-10 3:55 
GeneralRe: top this Pin
CDP18028-Aug-10 20:56
CDP18028-Aug-10 20:56 
GeneralRe: top this Pin
Richard A. Dalton12-Aug-10 0:26
Richard A. Dalton12-Aug-10 0:26 
GeneralRe: top this Pin
CDP180212-Aug-10 0:35
CDP180212-Aug-10 0:35 
GeneralRe: top this Pin
Richard A. Dalton12-Aug-10 1:03
Richard A. Dalton12-Aug-10 1:03 
GeneralRe: top this Pin
CDP180212-Aug-10 1:36
CDP180212-Aug-10 1:36 
GeneralRe: top this Pin
Richard A. Dalton12-Aug-10 5:16
Richard A. Dalton12-Aug-10 5:16 
GeneralRe: top this Pin
Yusuf4-Aug-10 13:32
Yusuf4-Aug-10 13:32 
GeneralRe: top this Pin
bleedingfingers4-Aug-10 21:41
bleedingfingers4-Aug-10 21:41 
GeneralRe: top this Pin
devvvy5-Aug-10 15:57
devvvy5-Aug-10 15:57 
GeneralRe: top this Pin
sameerazazi877-Aug-10 1:21
sameerazazi877-Aug-10 1:21 
GeneralRe: top this Pin
Bigdeak12-Aug-10 21:40
Bigdeak12-Aug-10 21:40 
GeneralHow to read a file completely? PinPopular
Bernhard Hiller29-Jul-10 2:22
Bernhard Hiller29-Jul-10 2:22 
GeneralRe: How to read a file completely? Pin
Single Step Debugger29-Jul-10 3:35
Single Step Debugger29-Jul-10 3:35 
GeneralRe: How to read a file completely? Pin
Phil Martin29-Jul-10 13:15
professionalPhil Martin29-Jul-10 13:15 
GeneralRe: How to read a file completely? Pin
David Skelly29-Jul-10 22:34
David Skelly29-Jul-10 22:34 
GeneralRe: How to read a file completely? Pin
Luc Pattyn30-Jul-10 0:02
sitebuilderLuc Pattyn30-Jul-10 0:02 

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.