Click here to Skip to main content
15,887,083 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: Found this a few minutes ago Pin
Jan Steyn28-Mar-13 0:56
Jan Steyn28-Mar-13 0:56 
GeneralRe: Found this a few minutes ago Pin
SomeGuyThatIsMe28-Mar-13 3:34
SomeGuyThatIsMe28-Mar-13 3:34 
GeneralRe: Found this a few minutes ago Pin
agolddog29-Mar-13 3:39
agolddog29-Mar-13 3:39 
GeneralRe: Found this a few minutes ago Pin
Leng Vang29-Mar-13 6:35
Leng Vang29-Mar-13 6:35 
GeneralRe: Found this a few minutes ago Pin
jschell29-Mar-13 10:43
jschell29-Mar-13 10:43 
GeneralRe: Found this a few minutes ago Pin
SomeGuyThatIsMe1-Apr-13 2:16
SomeGuyThatIsMe1-Apr-13 2:16 
GeneralRe: Found this a few minutes ago Pin
jschell1-Apr-13 8:08
jschell1-Apr-13 8:08 
GeneralRe: Found this a few minutes ago Pin
StatementTerminator1-Apr-13 9:58
StatementTerminator1-Apr-13 9:58 
Wow, talk about doing it the hard (and wrong) way. I suspect that this is a symptom of the state of on-the-job training in the programming world. It usually goes like "hey here's a new programmer, do this." But I still don't see how one becomes a programmer without learning the basics of SQL. No one likes code reviews, but it's useful for things like this.

Also, I love how @@FETCH_STATUS is global. I once saw an expensive production system blow-up due to a legacy code time bomb in the form of a SP using a global variable like this.
GeneralFor your next job interview PinPopular
Gary Wheeler15-Mar-13 1:02
Gary Wheeler15-Mar-13 1:02 
GeneralRe: For your next job interview Pin
Pranit Kothari15-Mar-13 1:22
Pranit Kothari15-Mar-13 1:22 
GeneralRe: For your next job interview Pin
Gary Wheeler15-Mar-13 1:26
Gary Wheeler15-Mar-13 1:26 
GeneralRe: For your next job interview Pin
Pete O'Hanlon15-Mar-13 1:34
mvePete O'Hanlon15-Mar-13 1:34 
GeneralRe: For your next job interview Pin
Gary Wheeler15-Mar-13 1:44
Gary Wheeler15-Mar-13 1:44 
GeneralRe: For your next job interview Pin
Marco Bertschi15-Mar-13 2:10
protectorMarco Bertschi15-Mar-13 2:10 
GeneralRe: For your next job interview Pin
Gary Wheeler15-Mar-13 2:19
Gary Wheeler15-Mar-13 2:19 
GeneralRe: For your next job interview Pin
SoMad28-Mar-13 22:54
professionalSoMad28-Mar-13 22:54 
GeneralRe: For your next job interview Pin
Marco Bertschi15-Mar-13 2:19
protectorMarco Bertschi15-Mar-13 2:19 
GeneralRe: For your next job interview Pin
ZurdoDev20-Mar-13 2:52
professionalZurdoDev20-Mar-13 2:52 
GeneralRe: For your next job interview Pin
Gary Wheeler20-Mar-13 2:56
Gary Wheeler20-Mar-13 2:56 
GeneralRe: For your next job interview Pin
ZurdoDev20-Mar-13 3:05
professionalZurdoDev20-Mar-13 3:05 
GeneralRe: For your next job interview Pin
_Maxxx_28-Mar-13 22:22
professional_Maxxx_28-Mar-13 22:22 
GeneralRe: For your next job interview Pin
Gary Wheeler29-Mar-13 2:25
Gary Wheeler29-Mar-13 2:25 
GeneralRe: For your next job interview Pin
CHill6025-Mar-13 5:08
mveCHill6025-Mar-13 5:08 
GeneralShiva Lingam Pin
Prasad Khandekar13-Mar-13 0:26
professionalPrasad Khandekar13-Mar-13 0:26 
GeneralRe: Shiva Lingam Pin
W Balboos, GHB13-Mar-13 0:36
W Balboos, GHB13-Mar-13 0:36 

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.