Click here to Skip to main content
15,890,185 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: The world of acronyms Pin
AspDotNetDev19-Nov-10 6:18
protectorAspDotNetDev19-Nov-10 6:18 
GeneralRe: The world of acronyms Pin
RobCroll17-Nov-10 5:41
RobCroll17-Nov-10 5:41 
GeneralRe: The world of acronyms Pin
Lutosław17-Nov-10 8:59
Lutosław17-Nov-10 8:59 
GeneralRe: The world of acronyms Pin
PIEBALDconsult18-Nov-10 15:48
mvePIEBALDconsult18-Nov-10 15:48 
GeneralRe: The world of acronyms Pin
marc_k18-Nov-10 0:28
marc_k18-Nov-10 0:28 
GeneralRe: The world of acronyms Pin
mathomp319-Nov-10 2:38
mathomp319-Nov-10 2:38 
GeneralRe: The world of acronyms Pin
_Erik_19-Nov-10 4:42
_Erik_19-Nov-10 4:42 
GeneralRe: The world of acronyms Pin
Jalapeno Bob19-Nov-10 5:59
professionalJalapeno Bob19-Nov-10 5:59 
Being an old-timer, I have made a practice of prefixing a variable name with its type. For example, an integer for tracking the number of actions taken might be named intActions and a money variable (logical subclass of decimal) might be mnyCashIn. Even now, with much smarter compilers, I still do it. This makes my code consistent, whether old or new, compiled or script. It also simplifies porting between weakly typed languages and strongly typed languages.
GeneralRe: The world of acronyms Pin
Steve Echols19-Nov-10 6:34
Steve Echols19-Nov-10 6:34 
GeneralRe: The world of acronyms Pin
Earl Truss19-Nov-10 11:20
Earl Truss19-Nov-10 11:20 
GeneralRe: The world of acronyms Pin
Ashish Kaila19-Nov-10 6:38
Ashish Kaila19-Nov-10 6:38 
GeneralRe: The world of acronyms Pin
Adrian Cole19-Nov-10 6:45
Adrian Cole19-Nov-10 6:45 
GeneralRe: The world of acronyms Pin
Earl Truss19-Nov-10 11:19
Earl Truss19-Nov-10 11:19 
GeneralWhen the CEO becomes a developer IV Pin
imagiro7-Nov-10 7:41
imagiro7-Nov-10 7:41 
GeneralRe: When the CEO becomes a developer IV Pin
Jeroen De Dauw7-Nov-10 12:28
Jeroen De Dauw7-Nov-10 12:28 
Jokemake an article please Pin
Kevin Drzycimski7-Nov-10 12:39
Kevin Drzycimski7-Nov-10 12:39 
GeneralRe: When the CEO becomes a developer IV Pin
Billy-T7-Nov-10 20:15
Billy-T7-Nov-10 20:15 
JokeRe: When the CEO becomes a developer IV Pin
_fboy_7-Nov-10 23:09
_fboy_7-Nov-10 23:09 
GeneralRe: When the CEO becomes a developer IV Pin
OriginalGriff7-Nov-10 23:38
mveOriginalGriff7-Nov-10 23:38 
GeneralWhen the CEO becomes a developer III PinPopular
imagiro5-Nov-10 0:27
imagiro5-Nov-10 0:27 
GeneralRe: When the CEO becomes a developer III Pin
Jeroen De Dauw5-Nov-10 7:29
Jeroen De Dauw5-Nov-10 7:29 
GeneralRe: When the CEO becomes a developer III Pin
imagiro6-Nov-10 4:03
imagiro6-Nov-10 4:03 
GeneralRe: When the CEO becomes a developer III Pin
richard_k6-Nov-10 13:05
richard_k6-Nov-10 13:05 
GeneralRe: When the CEO becomes a developer III Pin
imagiro7-Nov-10 7:25
imagiro7-Nov-10 7:25 
GeneralWhen the CEO becomes a developer II Pin
imagiro3-Nov-10 22:16
imagiro3-Nov-10 22:16 

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.