Click here to Skip to main content
15,912,021 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: Silly SQL PinPopular
ZurdoDev28-Feb-12 2:10
professionalZurdoDev28-Feb-12 2:10 
GeneralRe: Silly SQL Pin
Andy Missico6-Mar-12 19:37
Andy Missico6-Mar-12 19:37 
Generalapp as an object name Pin
kmoorevs22-Feb-12 4:26
kmoorevs22-Feb-12 4:26 
GeneralRe: app as an object name Pin
ekolis22-Feb-12 7:11
ekolis22-Feb-12 7:11 
GeneralRe: app as an object name Pin
Chris Meech22-Feb-12 7:34
Chris Meech22-Feb-12 7:34 
GeneralRe: app as an object name PinPopular
kmoorevs22-Feb-12 9:24
kmoorevs22-Feb-12 9:24 
GeneralRe: app as an object name Pin
PIEBALDconsult23-Feb-12 14:02
mvePIEBALDconsult23-Feb-12 14:02 
GeneralRe: app as an object name Pin
kmoorevs24-Feb-12 7:06
kmoorevs24-Feb-12 7:06 
You are correct. One of the affected customers is running a new version with the object renamed. Due to the randomness of it, it appeared to have solved the problem, however, the problem has resurfaced. I'm actually glad the variable/object name was not the culprit...it would've violated scope as I understand it. Luckily, in the last build, I put in a simple trace log so that I now know the method causing the fault. (I can see exactly where CRApp is CRApping out!) Still, there are some variable names (like app) that one should avoid.
"Go forth into the source" - Neal Morse

GeneralRe: app as an object name Pin
RobCroll24-Feb-12 0:56
RobCroll24-Feb-12 0:56 
GeneralRe: app as an object name Pin
kmoorevs24-Feb-12 7:15
kmoorevs24-Feb-12 7:15 
GeneralRe: app as an object name Pin
alcexhim28-Mar-12 14:00
alcexhim28-Mar-12 14:00 
GeneralRe: app as an object name Pin
kmoorevs29-Mar-12 2:34
kmoorevs29-Mar-12 2:34 
GeneralGotoless programming PinPopular
andrewgissing22-Feb-12 1:59
andrewgissing22-Feb-12 1:59 
GeneralRe: Gotoless programming PinPopular
CDP180222-Feb-12 2:22
CDP180222-Feb-12 2:22 
GeneralRe: Gotoless programming PinPopular
Bull City Rambler23-Feb-12 15:21
Bull City Rambler23-Feb-12 15:21 
GeneralRe: Gotoless programming PinPopular
OriginalGriff23-Feb-12 21:23
mveOriginalGriff23-Feb-12 21:23 
GeneralRe: Gotoless programming Pin
SortaCore28-Feb-12 7:39
SortaCore28-Feb-12 7:39 
GeneralRe: Gotoless programming Pin
OriginalGriff28-Feb-12 8:07
mveOriginalGriff28-Feb-12 8:07 
GeneralRe: Gotoless programming PinPopular
archimboldo28-Feb-12 8:11
archimboldo28-Feb-12 8:11 
GeneralRe: Gotoless programming Pin
SortaCore28-Feb-12 8:42
SortaCore28-Feb-12 8:42 
GeneralRe: Gotoless programming Pin
Mark Kruger28-Feb-12 10:44
Mark Kruger28-Feb-12 10:44 
GeneralRe: Gotoless programming Pin
SortaCore28-Feb-12 17:34
SortaCore28-Feb-12 17:34 
GeneralRe: Gotoless programming Pin
Mark Kruger28-Feb-12 21:16
Mark Kruger28-Feb-12 21:16 
GeneralRe: Gotoless programming Pin
SortaCore29-Feb-12 6:51
SortaCore29-Feb-12 6:51 
GeneralRe: Gotoless programming Pin
Mark Kruger29-Feb-12 8:31
Mark Kruger29-Feb-12 8:31 

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.