Click here to Skip to main content

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, embarrasing 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.

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
GeneralRe: Code should be 5 or anything above 7 long...memberbwallan27 Jan '12 - 9:26 
GeneralRe: Code should be 5 or anything above 7 long...memberNaerling27 Jan '12 - 9:39 
GeneralRe: Code should be 5 or anything above 7 long...memberbwallan27 Jan '12 - 11:54 
GeneralRe: Code should be 5 or anything above 7 long...memberNaerling27 Jan '12 - 12:33 
GeneralRe: Code should be 5 or anything above 7 long...memberTerence Trent Stoke2 Feb '12 - 4:23 
GeneralRe: Code should be 5 or anything above 7 long...memberNaerling2 Feb '12 - 8:30 
GeneralRe: Code should be 5 or anything above 7 long...memberMarvinMartian28 Jan '12 - 11:49 
GeneralRe: Code should be 5 or anything above 7 long...memberNaerling28 Jan '12 - 12:05 
GeneralRe: Code should be 5 or anything above 7 long...memberMarvinMartian28 Jan '12 - 12:35 
GeneralRe: Code should be 5 or anything above 7 long...memberNaerling28 Jan '12 - 13:05 
GeneralRe: Code should be 5 or anything above 7 long...memberMarvinMartian28 Jan '12 - 13:41 
GeneralRe: Code should be 5 or anything above 7 long...memberNaerling28 Jan '12 - 23:56 
GeneralRe: Code should be 5 or anything above 7 long...memberdawmail33330 Jan '12 - 0:44 
Can see this happening in Python:
 
if code.length in [0,1,2,3,4,6,7]:
    ....
Don't forget to rate my post if it helped! Wink | ;)
 
"He has no enemies, but is intensely disliked by his friends."
"His mother should have thrown him away, and kept the stork."
"There's nothing wrong with you that reincarnation won't cure."
"He loves nature, in spite of what it did to him."

GeneralRe: Code should be 5 or anything above 7 long...memberJyothikarthik_N31 Jan '12 - 0:23 
GeneralLinq2HorrormemberRobert Rohde24 Jan '12 - 21:01 
GeneralRe: Linq2HorrormemberNagy Vilmos24 Jan '12 - 21:33 
GeneralRe: Linq2HorrormemberV.24 Jan '12 - 22:59 
GeneralRe: Linq2HorrormemberRobert Rohde25 Jan '12 - 1:31 
GeneralRe: Linq2HorrormemberBobJanova25 Jan '12 - 8:16 
GeneralRe: Linq2Horrormemberriced25 Jan '12 - 10:54 
GeneralRe: Linq2HorrormemberPIEBALDconsult26 Jan '12 - 2:36 
GeneralRe: Linq2HorrormemberBobJanova27 Jan '12 - 13:02 
GeneralRe: Linq2HorrormemberPIEBALDconsult27 Jan '12 - 16:03 
GeneralRe: Linq2Horrormemberriced28 Jan '12 - 6:27 
GeneralRe: Linq2Horrormembericestatue23 Feb '12 - 3:14 
GeneralRe: Linq2Horrormembergavindon1 Feb '12 - 10:51 
GeneralRe: Linq2Horrormemberkillabyte25 Jan '12 - 14:29 
GeneralRe: Linq2HorrormemberRobert Rohde25 Jan '12 - 17:52 
GeneralRe: Linq2Horrormemberkillabyte27 Jan '12 - 9:46 
GeneralRe: Linq2HorrormemberNaerling19 Mar '12 - 21:50 
GeneralRe: Linq2HorrormemberRobert Rohde22 Mar '12 - 2:07 
GeneralGoodbye version controlmemberRobCroll20 Mar '12 - 12:07 
GeneralRe: Goodbye version controlmemberRobert Rohde22 Mar '12 - 2:11 
GeneralRe: Goodbye version controlmemberRobCroll22 Mar '12 - 12:36 
GeneralLogical AND with false... [modified]memberAlbert Holguin23 Jan '12 - 14:09 
GeneralRe: Logical AND with false...memberryanb3124 Jan '12 - 3:01 
GeneralRe: Logical AND with false...memberPIEBALDconsult24 Jan '12 - 4:01 
GeneralRe: Logical AND with false...memberAlbert Holguin24 Jan '12 - 5:05 
GeneralRe: Logical AND with false...memberBobJanova24 Jan '12 - 9:55 
GeneralRe: Logical AND with false...membercpkilekofp27 Jan '12 - 6:44 
GeneralRe: Logical AND with false...memberCIDev25 Jan '12 - 5:05 
GeneralRe: Logical AND with false...memberenglebart27 Jan '12 - 2:11 
GeneralRe: Logical AND with false...memberAlbert Holguin27 Jan '12 - 9:16 
GeneralClassical unitialized C pointermemberJochen Arndt20 Jan '12 - 0:59 
GeneralRe: Classical unitialized C pointermemberAlbert Holguin23 Jan '12 - 4:52 
JokeRe: Classical unitialized C pointermembercpkilekofp27 Jan '12 - 6:35 
GeneralRe: Classical unitialized C pointermemberii_noname_ii24 Jan '12 - 3:42 
GeneralRe: Classical unitialized C pointermembercpkilekofp27 Jan '12 - 6:48 
GeneralRe: Classical unitialized C pointermemberStefan_Lang25 Jan '12 - 4:44 
GeneralRe: Classical unitialized C pointermemberJochen Arndt25 Jan '12 - 5:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 21 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid