Click here to Skip to main content
15,884,425 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.

 
GeneralIs this bad? Pin
James_Parsons17-Feb-16 2:07
James_Parsons17-Feb-16 2:07 
GeneralRe: Is this bad? Pin
Tim Carmichael17-Feb-16 2:31
Tim Carmichael17-Feb-16 2:31 
GeneralRe: Is this bad? Pin
Nish Nishant17-Feb-16 3:13
sitebuilderNish Nishant17-Feb-16 3:13 
GeneralStyle Guide for Obfuscation? Pin
Bernhard Hiller10-Feb-16 22:30
Bernhard Hiller10-Feb-16 22:30 
GeneralRe: Style Guide for Obfuscation? Pin
Richard Deeming11-Feb-16 1:23
mveRichard Deeming11-Feb-16 1:23 
GeneralRe: Style Guide for Obfuscation? Pin
Bernhard Hiller11-Feb-16 2:31
Bernhard Hiller11-Feb-16 2:31 
GeneralRe: Style Guide for Obfuscation? Pin
Richard Deeming11-Feb-16 2:36
mveRichard Deeming11-Feb-16 2:36 
GeneralRe: Style Guide for Obfuscation? PinPopular
#realJSOP11-Feb-16 2:38
mve#realJSOP11-Feb-16 2:38 
It doesn't give you a warning because it's perfectly valid code. If you want to use the class var, you can qualify it with this.varname.

Don't make the mistake of using the IDE as a crutch.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

GeneralRe: Style Guide for Obfuscation? Pin
RugbyLeague11-Feb-16 3:58
RugbyLeague11-Feb-16 3:58 
GeneralRe: Style Guide for Obfuscation? Pin
Nish Nishant17-Feb-16 3:16
sitebuilderNish Nishant17-Feb-16 3:16 
Generaltesting 1.2.3. PinPopular
Duncan Edwards Jones9-Feb-16 1:06
professionalDuncan Edwards Jones9-Feb-16 1:06 
GeneralRe: testing 1.2.3. Pin
F-ES Sitecore9-Feb-16 2:50
professionalF-ES Sitecore9-Feb-16 2:50 
GeneralRe: testing 1.2.3. Pin
Rob Grainger15-Feb-16 0:41
Rob Grainger15-Feb-16 0:41 
GeneralIntellisense Strikes Again Pin
Foothill5-Feb-16 8:00
professionalFoothill5-Feb-16 8:00 
GeneralRe: Intellisense Strikes Again Pin
PIEBALDconsult5-Feb-16 9:00
mvePIEBALDconsult5-Feb-16 9:00 
GeneralRe: Intellisense Strikes Again Pin
Brisingr Aerowing5-Feb-16 9:01
professionalBrisingr Aerowing5-Feb-16 9:01 
GeneralRe: Intellisense Strikes Again Pin
kmoorevs6-Feb-16 5:04
kmoorevs6-Feb-16 5:04 
GeneralRe: Intellisense Strikes Again Pin
Brisingr Aerowing6-Feb-16 5:10
professionalBrisingr Aerowing6-Feb-16 5:10 
GeneralRe: Intellisense Strikes Again Pin
wout de zeeuw5-Feb-16 12:11
wout de zeeuw5-Feb-16 12:11 
GeneralRe: Intellisense Strikes Again Pin
Brisingr Aerowing5-Feb-16 12:52
professionalBrisingr Aerowing5-Feb-16 12:52 
GeneralRe: Intellisense Strikes Again Pin
wout de zeeuw5-Feb-16 13:02
wout de zeeuw5-Feb-16 13:02 
GeneralRe: Intellisense Strikes Again Pin
Camilo Reyes5-Feb-16 16:01
professionalCamilo Reyes5-Feb-16 16:01 
GeneralRe: Intellisense Strikes Again Pin
wout de zeeuw5-Feb-16 16:26
wout de zeeuw5-Feb-16 16:26 
GeneralRe: Intellisense Strikes Again Pin
Brisingr Aerowing6-Feb-16 5:11
professionalBrisingr Aerowing6-Feb-16 5:11 
GeneralRe: Intellisense Strikes Again Pin
wout de zeeuw7-Feb-16 23:41
wout de zeeuw7-Feb-16 23:41 

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.