Click here to Skip to main content
15,886,919 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: Happy debugging! Pin
Andrei Straut25-Sep-12 1:07
Andrei Straut25-Sep-12 1:07 
GeneralRe: Happy debugging! Pin
BrainiacV25-Sep-12 4:11
BrainiacV25-Sep-12 4:11 
GeneralThat was funny but.. Pin
VallarasuS24-Sep-12 22:59
VallarasuS24-Sep-12 22:59 
GeneralRe: Happy debugging! Pin
dandy7225-Sep-12 0:25
dandy7225-Sep-12 0:25 
GeneralRe: Happy debugging! Pin
Andrei Straut25-Sep-12 0:50
Andrei Straut25-Sep-12 0:50 
GeneralRe: Happy debugging! Pin
dandy7225-Sep-12 1:34
dandy7225-Sep-12 1:34 
GeneralRe: Happy debugging! PinPopular
Pete O'Hanlon25-Sep-12 2:07
mvePete O'Hanlon25-Sep-12 2:07 
GeneralRe: Happy debugging! Pin
Andrei Straut25-Sep-12 2:17
Andrei Straut25-Sep-12 2:17 
Pete O'Hanlon wrote:
How is the person who takes over from the pair of you going to think when he finds this code?

He won't. It's fixed and my colleague announced. Actually he did find it somewhat funny.

Pete O'Hanlon wrote:
Yes, the original code was wrong, but you have just made the situation 10 times worse, and potentially stored up a huge problem for your employer in the process

I fail to see how I created a huge problem. I did not change the data or interact with it in any way (except fixing what came wrong), I logged something badly instead of not logging it at all, and whoever used the VS debugger would notice it in a flash.

Pete O'Hanlon wrote:
The fact that you did this deliberately is shocking.

Although I do acknowledge it was uninspired and totally unprofessional (I try to take myself seriously, as well as others, and here I was wrong), shocking no, I don't think so.

Again, I was wrong for this, and thanks to the CP community for pointing it out.

EDIT: Should I delete the thread, or leave it as is?
Full-fledged Java/.NET lover, full-fledged PHP hater.
Full-fledged Google/Microsoft lover, full-fledged Apple hater.
Full-fledged Skype lover, full-fledged YM hater.

GeneralRe: Happy debugging! Pin
Pete O'Hanlon25-Sep-12 2:33
mvePete O'Hanlon25-Sep-12 2:33 
GeneralRe: Happy debugging! Pin
agolddog25-Sep-12 3:49
agolddog25-Sep-12 3:49 
GeneralRe: Happy debugging! Pin
KP Lee25-Sep-12 15:55
KP Lee25-Sep-12 15:55 
GeneralRe: Happy debugging! Pin
SeattleC++25-Sep-12 5:12
SeattleC++25-Sep-12 5:12 
GeneralRe: Happy debugging! Pin
Joe_Dert20-Oct-12 21:50
Joe_Dert20-Oct-12 21:50 
GeneralRe: Happy debugging! Pin
SeattleC++21-Oct-12 9:14
SeattleC++21-Oct-12 9:14 
GeneralRe: Happy debugging! Pin
Joe_Dert21-Oct-12 20:33
Joe_Dert21-Oct-12 20:33 
GeneralRe: Happy debugging! Pin
BobJanova25-Sep-12 5:16
BobJanova25-Sep-12 5:16 
GeneralRe: Happy debugging! Pin
Andrei Straut25-Sep-12 6:45
Andrei Straut25-Sep-12 6:45 
GeneralRe: Happy debugging! Pin
RafagaX25-Sep-12 5:34
professionalRafagaX25-Sep-12 5:34 
GeneralRe: Happy debugging! Pin
Andrei Straut25-Sep-12 6:46
Andrei Straut25-Sep-12 6:46 
GeneralRe: Happy debugging! Pin
Behzad Sedighzadeh25-Sep-12 5:59
Behzad Sedighzadeh25-Sep-12 5:59 
GeneralRe: Happy debugging! Pin
Andrei Straut25-Sep-12 6:50
Andrei Straut25-Sep-12 6:50 
GeneralRe: Happy debugging! Pin
jschell25-Sep-12 7:51
jschell25-Sep-12 7:51 
Generalwell... Pin
shiprat25-Sep-12 9:15
shiprat25-Sep-12 9:15 
GeneralRe: well... Pin
Pete O'Hanlon25-Sep-12 9:53
mvePete O'Hanlon25-Sep-12 9:53 
GeneralRe: well... Pin
shiprat29-Oct-12 12:56
shiprat29-Oct-12 12:56 

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.