Click here to Skip to main content
15,889,877 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: See the writing on the wall... Pin
KP Lee5-May-12 9:50
KP Lee5-May-12 9:50 
Generalshame to my tester or me? PinPopular
kdgupta871-May-12 21:15
kdgupta871-May-12 21:15 
GeneralRe: shame to my tester or me? PinPopular
CDP18021-May-12 21:29
CDP18021-May-12 21:29 
GeneralRe: shame to my tester or me? Pin
kdgupta871-May-12 21:49
kdgupta871-May-12 21:49 
GeneralRe: shame to my tester or me? PinPopular
CDP18021-May-12 22:54
CDP18021-May-12 22:54 
GeneralRe: shame to my tester or me? PinPopular
PIEBALDconsult2-May-12 3:12
mvePIEBALDconsult2-May-12 3:12 
GeneralRe: shame to my tester or me? Pin
Dan Sutton3-May-12 7:23
Dan Sutton3-May-12 7:23 
GeneralRe: shame to my tester or me? Pin
BobJanova2-May-12 0:48
BobJanova2-May-12 0:48 
There's a lesson to learn here about using an unambiguous date format. If you have to use string date transfer at all, that is, but for passing data between applications that is often the case (e.g. if you're using web services or similar protocols). I use either 2012-05-02 or 2-May-2012, usually the former, if I'm saving or passing dates and need to be able to understand them at the other end.

Your tester should have tested this, though. That's the point of having a tester.
GeneralRe: shame to my tester or me? Pin
CDP18022-May-12 2:04
CDP18022-May-12 2:04 
GeneralRe: shame to my tester or me? Pin
BobJanova2-May-12 5:10
BobJanova2-May-12 5:10 
GeneralRe: shame to my tester or me? Pin
Machaira3-May-12 4:05
Machaira3-May-12 4:05 
GeneralRe: shame to my tester or me? Pin
Isfeasachme3-May-12 4:26
Isfeasachme3-May-12 4:26 
GeneralRe: shame to my tester or me? Pin
Florin Jurcovici5-Jun-12 21:24
Florin Jurcovici5-Jun-12 21:24 
GeneralRe: shame to my tester or me? Pin
ddecoy2-May-12 22:41
ddecoy2-May-12 22:41 
GeneralRe: shame to my tester or me? Pin
Paulo_JCG3-May-12 0:03
professionalPaulo_JCG3-May-12 0:03 
GeneralRe: shame to my tester or me? Pin
ddecoy3-May-12 0:09
ddecoy3-May-12 0:09 
GeneralRe: shame to my tester or me? Pin
Gary Huck3-May-12 2:23
Gary Huck3-May-12 2:23 
GeneralRe: shame to my tester or me? Pin
ddecoy3-May-12 2:31
ddecoy3-May-12 2:31 
GeneralRe: shame to my tester or me? Pin
Gary Huck3-May-12 3:07
Gary Huck3-May-12 3:07 
GeneralRe: shame to my tester or me? Pin
djdanlib3-May-12 7:58
djdanlib3-May-12 7:58 
GeneralRe: shame to my tester or me? Pin
BillW332-May-12 3:06
professionalBillW332-May-12 3:06 
GeneralRe: shame to my tester or me? Pin
Chris Meech2-May-12 3:41
Chris Meech2-May-12 3:41 
GeneralRe: shame to my tester or me? Pin
NickPace2-May-12 4:38
NickPace2-May-12 4:38 
GeneralRe: shame to my tester or me? Pin
BobJanova2-May-12 5:11
BobJanova2-May-12 5:11 
GeneralRe: shame to my tester or me? Pin
NickPace2-May-12 5:49
NickPace2-May-12 5:49 

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.