Click here to Skip to main content
15,886,919 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: EncodeFlags Pin
kalberts11-Jul-17 2:33
kalberts11-Jul-17 2:33 
GeneralRe: EncodeFlags Pin
Fabio Franco5-Jul-17 2:02
professionalFabio Franco5-Jul-17 2:02 
GeneralRe: EncodeFlags Pin
PIEBALDconsult5-Jul-17 11:59
mvePIEBALDconsult5-Jul-17 11:59 
GeneralRe: EncodeFlags Pin
TheGreatAndPowerfulOz11-Jul-17 9:46
TheGreatAndPowerfulOz11-Jul-17 9:46 
GeneralRe: EncodeFlags PinPopular
thund3rstruck5-Jul-17 3:24
thund3rstruck5-Jul-17 3:24 
PraiseRe: EncodeFlags Pin
PIEBALDconsult5-Jul-17 11:59
mvePIEBALDconsult5-Jul-17 11:59 
GeneralRe: EncodeFlags Pin
Jörgen Andersson5-Jul-17 19:56
professionalJörgen Andersson5-Jul-17 19:56 
GeneralRe: EncodeFlags Pin
Bernhard Hiller6-Jul-17 20:48
Bernhard Hiller6-Jul-17 20:48 
thund3rstruck wrote:
I learned decades ago that its a fool errand to insult the previous developer(s), especially if one was not there participating in the decision making process. There are a multitude of factors and/or external forces that impact decisions like this and arrogantly criticizing these choices accomplishes little.
I agree with you.
I know the guy who wrote that code, and the circumstances: it's fresh code written this week.
Some time ago, I discussed with him his obsession of encoding everything in magical ints or one-letter-strings, sometimes also providing "endode"/"decode" functions for converting between the magical ints and the one-letter-strings and the other way round...
GeneralRe: EncodeFlags Pin
TheGreatAndPowerfulOz11-Jul-17 9:49
TheGreatAndPowerfulOz11-Jul-17 9:49 
GeneralRe: EncodeFlags Pin
TheGreatAndPowerfulOz11-Jul-17 9:47
TheGreatAndPowerfulOz11-Jul-17 9:47 
GeneralJavaScript Frameworks.... Pin
abmv23-Jun-17 9:11
professionalabmv23-Jun-17 9:11 
GeneralRe: JavaScript Frameworks.... Pin
Marc Clifton23-Jun-17 9:23
mvaMarc Clifton23-Jun-17 9:23 
GeneralRe: JavaScript Frameworks.... Pin
abmv23-Jun-17 9:53
professionalabmv23-Jun-17 9:53 
GeneralRe: JavaScript Frameworks.... Pin
Nelek25-Jun-17 21:37
protectorNelek25-Jun-17 21:37 
GeneralRe: JavaScript Frameworks.... Pin
Eddy Vluggen23-Jun-17 10:15
professionalEddy Vluggen23-Jun-17 10:15 
GeneralRe: JavaScript Frameworks.... Pin
Kevin McFarlane25-Jun-17 7:47
Kevin McFarlane25-Jun-17 7:47 
GeneralRe: JavaScript Frameworks.... Pin
Marc Clifton26-Jun-17 8:38
mvaMarc Clifton26-Jun-17 8:38 
GeneralRe: JavaScript Frameworks.... Pin
Kevin McFarlane26-Jun-17 8:57
Kevin McFarlane26-Jun-17 8:57 
GeneralRe: JavaScript Frameworks.... Pin
Marc Clifton26-Jun-17 9:09
mvaMarc Clifton26-Jun-17 9:09 
GeneralRe: JavaScript Frameworks.... Pin
Kevin McFarlane26-Jun-17 9:17
Kevin McFarlane26-Jun-17 9:17 
GeneralRe: JavaScript Frameworks.... Pin
Marc Clifton26-Jun-17 14:32
mvaMarc Clifton26-Jun-17 14:32 
GeneralRe: JavaScript Frameworks.... Pin
Sander Rossel23-Jun-17 23:15
professionalSander Rossel23-Jun-17 23:15 
GeneralRe: JavaScript Frameworks.... Pin
Brisingr Aerowing24-Jun-17 3:24
professionalBrisingr Aerowing24-Jun-17 3:24 
GeneralRe: JavaScript Frameworks.... Pin
Kornfeld Eliyahu Peter26-Jun-17 20:02
professionalKornfeld Eliyahu Peter26-Jun-17 20:02 
GeneralRe: JavaScript Frameworks.... Pin
thatraja7-Jul-17 7:34
professionalthatraja7-Jul-17 7:34 

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.