Click here to Skip to main content
15,891,951 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: Useless... Pin
Dave Sexton23-Apr-08 4:03
Dave Sexton23-Apr-08 4:03 
GeneralRe: Useless... Pin
StM0n23-Apr-08 20:15
StM0n23-Apr-08 20:15 
GeneralRe: Useless... Pin
MarkB77723-Apr-08 20:26
MarkB77723-Apr-08 20:26 
GeneralRe: Useless... Pin
Pete O'Hanlon23-Apr-08 22:25
mvePete O'Hanlon23-Apr-08 22:25 
GeneralRe: Useless... Pin
Saurabh.Garg27-Apr-08 4:06
Saurabh.Garg27-Apr-08 4:06 
GeneralRe: Useless... Pin
Dave Sexton27-Apr-08 22:20
Dave Sexton27-Apr-08 22:20 
GeneralRe: Useless... Pin
Saurabh.Garg27-Apr-08 22:29
Saurabh.Garg27-Apr-08 22:29 
GeneralRe: Useless... Pin
Dave Sexton27-Apr-08 22:45
Dave Sexton27-Apr-08 22:45 
Saurabh.Garg wrote:
since I knew nothing about code base


Granted. Suffice it to say that this code forms part of a banking simulator.

Dangerous in that it sets a precedent. This kind of sloppy code shouldn't be checked back into source control. Seriously, if the dev who wrote this was too lazy to clean this up there's a real danger that he'll take shortcuts in other places too. This in itself is already bad & poses a danger to our product as a whole.

So yeah... In my book that's dangerous Smile | :)




But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson
Because programming is an art, not a science. Marc Clifton



GeneralRe: Useless... Pin
Spacix One28-Apr-08 7:22
Spacix One28-Apr-08 7:22 
GeneralRe: Useless... Pin
Yasser Azeem15-May-08 2:07
Yasser Azeem15-May-08 2:07 
GeneralOh man... Pin
MarkB77720-Apr-08 20:06
MarkB77720-Apr-08 20:06 
QuestionRe: Oh man... Pin
CPallini20-Apr-08 21:43
mveCPallini20-Apr-08 21:43 
GeneralRe: Oh man... Pin
MarkB77720-Apr-08 21:56
MarkB77720-Apr-08 21:56 
JokeRe: Oh man... Pin
Vasudevan Deepak Kumar21-Apr-08 5:51
Vasudevan Deepak Kumar21-Apr-08 5:51 
GeneralRe: Oh man... Pin
CPallini21-Apr-08 6:06
mveCPallini21-Apr-08 6:06 
GeneralRe: Oh man... Pin
rbuchana21-Apr-08 12:44
rbuchana21-Apr-08 12:44 
GeneralRe: Oh man... Pin
MarkB77721-Apr-08 13:56
MarkB77721-Apr-08 13:56 
GeneralRe: Oh man... Pin
Jeff Dickey21-Apr-08 19:56
Jeff Dickey21-Apr-08 19:56 
AnswerOf course! Pin
Jeff Dickey21-Apr-08 19:50
Jeff Dickey21-Apr-08 19:50 
GeneralRe: Of course! Pin
Wiltek Ghozali28-Apr-08 21:04
Wiltek Ghozali28-Apr-08 21:04 
GeneralRe: Oh man... Pin
Mladen Janković20-Apr-08 23:36
Mladen Janković20-Apr-08 23:36 
GeneralRe: Oh man... Pin
Yusuf21-Apr-08 3:18
Yusuf21-Apr-08 3:18 
GeneralRe: Oh man... PinPopular
Thomas Krojer21-Apr-08 3:37
Thomas Krojer21-Apr-08 3:37 
JokeRe: Oh man... Pin
Spacix One21-Apr-08 12:11
Spacix One21-Apr-08 12:11 
GeneralRe: Oh man... Pin
Marc Clifton22-Apr-08 2:24
mvaMarc Clifton22-Apr-08 2:24 

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.