Click here to Skip to main content
15,879,095 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: Is this the worst code in the world? Pin
Al Chak15-Aug-15 22:16
Al Chak15-Aug-15 22:16 
GeneralRe: Is this the worst code in the world? Pin
Dr Gadgit30-Sep-15 8:24
Dr Gadgit30-Sep-15 8:24 
GeneralRe: Is this the worst code in the world? Pin
BruceN5-Oct-15 9:39
BruceN5-Oct-15 9:39 
GeneralWtf JS? Pin
jan larsen12-Aug-15 1:16
jan larsen12-Aug-15 1:16 
GeneralRe: Wtf JS? Pin
Vark11112-Aug-15 3:32
Vark11112-Aug-15 3:32 
GeneralRe: Wtf JS? Pin
jan larsen12-Aug-15 20:59
jan larsen12-Aug-15 20:59 
GeneralRe: Wtf JS? Pin
jsc4212-Aug-15 3:50
professionaljsc4212-Aug-15 3:50 
GeneralRe: Wtf JS? Pin
jan larsen12-Aug-15 21:10
jan larsen12-Aug-15 21:10 
Thanks for clearing that up. Didn't make JS look any better to me though Smile | :)
Weird architecture that, just because there is a structure doesn't mean that it's actually helpfull. I'm sure there is a special part of Hell reserved for script designers putting subtle twists to a product.
I will certainly go for your first suggestion, the second wouldn't conform to the Revealing Module Pattern (or should that have been in all caps?).
"God doesn't play dice" - Albert Einstein

"God not only plays dice, He sometimes throws the dices where they cannot be seen" - Niels Bohr

GeneralRe: Wtf JS? Pin
Vark11113-Aug-15 3:49
Vark11113-Aug-15 3:49 
GeneralRe: Wtf JS? Pin
imagiro13-Aug-15 20:07
imagiro13-Aug-15 20:07 
Generalhhg Pin
susanjita7-Aug-15 21:14
susanjita7-Aug-15 21:14 
GeneralRe: hhg Pin
PIEBALDconsult9-Aug-15 6:52
mvePIEBALDconsult9-Aug-15 6:52 
GeneralRe: hhg Pin
Brisingr Aerowing9-Aug-15 8:40
professionalBrisingr Aerowing9-Aug-15 8:40 
GeneralRe: hhg Pin
Eddy Vluggen10-Aug-15 2:44
professionalEddy Vluggen10-Aug-15 2:44 
GeneralRe: hhg Pin
Power Puff Boy10-Aug-15 4:50
Power Puff Boy10-Aug-15 4:50 
GeneralRe: hhg Pin
Nicholas Marty10-Aug-15 5:06
professionalNicholas Marty10-Aug-15 5:06 
GeneralRe: hhg Pin
Power Puff Boy10-Aug-15 22:53
Power Puff Boy10-Aug-15 22:53 
GeneralRe: hhg Pin
Brisingr Aerowing10-Aug-15 14:16
professionalBrisingr Aerowing10-Aug-15 14:16 
GeneralRe: hhg Pin
Dharmesh .S. Patil12-Aug-15 1:46
professionalDharmesh .S. Patil12-Aug-15 1:46 
GeneralRe: hhg Pin
Brisingr Aerowing12-Aug-15 1:48
professionalBrisingr Aerowing12-Aug-15 1:48 
GeneralRe: hhg Pin
jeron112-Aug-15 5:09
jeron112-Aug-15 5:09 
GeneralI feel so dirty Pin
PIEBALDconsult7-Aug-15 10:00
mvePIEBALDconsult7-Aug-15 10:00 
GeneralRe: I feel so dirty Pin
Mike (Prof. Chuck)8-Aug-15 1:11
professionalMike (Prof. Chuck)8-Aug-15 1:11 
GeneralRe: I feel so dirty Pin
Marc Clifton8-Aug-15 1:29
mvaMarc Clifton8-Aug-15 1:29 
GeneralRe: I feel so dirty Pin
PIEBALDconsult8-Aug-15 6:07
mvePIEBALDconsult8-Aug-15 6:07 

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.