Click here to Skip to main content
15,891,513 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: 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 
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 
That's why I always get scared when such rules are preached religiously and then applied at all cost. I often write code for old 8 bit computers or microcontrollers and calling functions for everything will result in a slow processor working more on the stack than the actual task. Using goto or branching instructions in assembly then will make more of the two most valuable resources, CPU and memory. Thinking and making most of the resources at your disposal is more important than blindly following rules.
I'm invincible, I can't be vinced



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 
GeneralRe: Gotoless programming Pin
Ahmedn128-Feb-12 8:41
Ahmedn128-Feb-12 8:41 
GeneralRe: Gotoless programming Pin
BobJanova28-Feb-12 22:33
BobJanova28-Feb-12 22:33 
GeneralRe: Gotoless programming Pin
DragonHeart33528-Feb-12 1:13
DragonHeart33528-Feb-12 1:13 
GeneralRe: Gotoless programming Pin
scott_m557428-Feb-12 3:25
scott_m557428-Feb-12 3:25 
GeneralRe: Gotoless programming Pin
Mike Winiberg27-Feb-12 21:14
professionalMike Winiberg27-Feb-12 21:14 
GeneralRe: Gotoless programming Pin
englebart28-Feb-12 2:06
professionalenglebart28-Feb-12 2:06 

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.