Click here to Skip to main content
16,005,058 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: Now this is bad.... Pin
Paladin200019-Apr-11 4:25
Paladin200019-Apr-11 4:25 
GeneralRe: Now this is bad.... Pin
AspDotNetDev19-Apr-11 6:44
protectorAspDotNetDev19-Apr-11 6:44 
GeneralRe: Now this is bad.... Pin
Luc Pattyn19-Apr-11 7:05
sitebuilderLuc Pattyn19-Apr-11 7:05 
GeneralRe: Now this is bad.... Pin
AspDotNetDev19-Apr-11 11:21
protectorAspDotNetDev19-Apr-11 11:21 
GeneralRe: Now this is bad.... Pin
BillW3319-Apr-11 10:26
professionalBillW3319-Apr-11 10:26 
GeneralRe: Now this is bad.... Pin
emartinho19-Apr-11 10:46
emartinho19-Apr-11 10:46 
GeneralRe: Now this is bad.... Pin
BillW3319-Apr-11 13:36
professionalBillW3319-Apr-11 13:36 
GeneralRe: Now this is bad.... PinPopular
Richard A. Dalton19-Apr-11 23:51
Richard A. Dalton19-Apr-11 23:51 
Eeeegads!

This code is why code reviews were invented.

That programmer should be forced to keep working on that until it's fixed, that way you at least contain them and stop them doing this elsewhere.

If they haven't fixed it after a week, fire their ass.

Whoever the developers were that let it through a code review...Fire their asses too.

Of course I jest.

There wasn't a code review, there never is in these situations. So fire whoever is responsible for ensuring there are code reviews.

If nobody is responsible for ensuring there are code reviews, fire the person responsible for ensuring that there is a person responsible for ensuring that there are code reviews.

When you've recursively made your way to the top of the Org Chart and fired everyone and the company no longer exists, this mess of code will have served it's purpose.

-Rd
Hit any user to continue.

GeneralIs there a place... Pin
CDP180220-Apr-11 0:03
CDP180220-Apr-11 0:03 
GeneralRe: Now this is bad.... Pin
Vladimir Svyatski22-Apr-11 9:05
professionalVladimir Svyatski22-Apr-11 9:05 
GeneralRe: Now this is bad.... Pin
Albert Holguin22-Apr-11 17:18
professionalAlbert Holguin22-Apr-11 17:18 
GeneralRe: Now this is bad.... Pin
Ravi Sant2-Jun-11 4:17
Ravi Sant2-Jun-11 4:17 
Generalcall the same object Pin
TorstenH.18-Apr-11 4:39
TorstenH.18-Apr-11 4:39 
GeneralRe: call the same object Pin
StM0n20-Apr-11 10:24
StM0n20-Apr-11 10:24 
GeneralRe: call the same object Pin
TorstenH.20-Apr-11 21:34
TorstenH.20-Apr-11 21:34 
GeneralRe: call the same object Pin
StM0n20-Apr-11 21:38
StM0n20-Apr-11 21:38 
GeneralHmmm... I think something went wrong on line 71, but I'm not sure... Pin
PIEBALDconsult12-Apr-11 19:09
mvePIEBALDconsult12-Apr-11 19:09 
GeneralRe: Hmmm... I think something went wrong on line 71, but I'm not sure... Pin
AspDotNetDev13-Apr-11 3:45
protectorAspDotNetDev13-Apr-11 3:45 
GeneralRe: Hmmm... I think something went wrong on line 71, but I'm not sure... Pin
gavindon13-Apr-11 4:16
gavindon13-Apr-11 4:16 
JokeRe: Hmmm... I think something went wrong on line 71, but I'm not sure... Pin
Sander Rossel15-Apr-11 3:56
professionalSander Rossel15-Apr-11 3:56 
GeneralRe: Hmmm... I think something went wrong on line 71, but I'm not sure... Pin
Bernhard Hiller19-Apr-11 2:03
Bernhard Hiller19-Apr-11 2:03 
GeneralAustin Danger Powers PinPopular
AspDotNetDev11-Apr-11 13:29
protectorAspDotNetDev11-Apr-11 13:29 
GeneralRe: Austin Danger Powers Pin
Luc Pattyn11-Apr-11 14:13
sitebuilderLuc Pattyn11-Apr-11 14:13 
GeneralRe: Austin Danger Powers Pin
AspDotNetDev11-Apr-11 14:30
protectorAspDotNetDev11-Apr-11 14:30 
GeneralRe: Austin Danger Powers Pin
Luc Pattyn11-Apr-11 14:58
sitebuilderLuc Pattyn11-Apr-11 14:58 

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.