Click here to Skip to main content
15,122,149 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: Best Function Ever Pin
Paul M Watt2-Aug-13 8:58
mentorPaul M Watt2-Aug-13 8:58 
GeneralRe: Best Function Ever Pin
Andy Bantly5-Aug-13 8:56
MemberAndy Bantly5-Aug-13 8:56 
GeneralRe: Best Function Ever Pin
Mohibur Rashid19-Aug-13 18:37
professionalMohibur Rashid19-Aug-13 18:37 
GeneralRe: Best Function Ever Pin
ZurdoDev2-Aug-13 9:05
professionalZurdoDev2-Aug-13 9:05 
GeneralRe: Best Function Ever Pin
Mladen Janković2-Aug-13 11:31
MemberMladen Janković2-Aug-13 11:31 
GeneralRe: Best Function Ever Pin
Paul M Watt5-Aug-13 19:11
mentorPaul M Watt5-Aug-13 19:11 
GeneralRe: Best Function Ever Pin
Lutosław14-Aug-13 1:09
MemberLutosław14-Aug-13 1:09 
GeneralRe: Best Function Ever Pin
MarkTJohnson6-Aug-13 7:51
professionalMarkTJohnson6-Aug-13 7:51 
Well, to take a point from a previous thread, it has one too many return statements.

Ducks and runs for cover. Laugh | :laugh:

At least I stay consistent.
Mark "So old school, Socrates was in his first year teaching." Johnson

Don't like the shot clock, the three point shot, or the designated hitter either.

GeneralRe: Best Function Ever Pin
PIEBALDconsult9-Aug-13 9:03
professionalPIEBALDconsult9-Aug-13 9:03 
GeneralRe: Best Function Ever Pin
MacSpudster13-Aug-13 6:25
professionalMacSpudster13-Aug-13 6:25 
GeneralRe: Best Function Ever Pin
ExcellentOrg21-Aug-13 1:10
MemberExcellentOrg21-Aug-13 1:10 
GeneralRe: Best Function Ever Pin
Super Lloyd7-Aug-13 4:02
MemberSuper Lloyd7-Aug-13 4:02 
GeneralRe: Best Function Ever Pin
ExcellentOrg21-Aug-13 1:08
MemberExcellentOrg21-Aug-13 1:08 
GeneralThe return a detailed error string but ignore its contents and assume it's only ever the failure case you expected to occur but couldn't be bothered to handle properly pattern Pin
Dan Neely2-Aug-13 5:42
MemberDan Neely2-Aug-13 5:42 
GeneralRe: The return a detailed error string but ignore its contents and assume it's only ever the failure case you expected to occur but couldn't be bothered to handle properly pattern Pin
ZurdoDev2-Aug-13 5:54
professionalZurdoDev2-Aug-13 5:54 
GeneralRe: The return a detailed error string but ignore its contents and assume it's only ever the failure case you expected to occur but couldn't be bothered to handle properly pattern Pin
OriginalGriff2-Aug-13 6:38
mveOriginalGriff2-Aug-13 6:38 
GeneralRe: The return a detailed error string but ignore its contents and assume it's only ever the failure case you expected to occur but couldn't be bothered to handle properly pattern Pin
ZurdoDev2-Aug-13 6:49
professionalZurdoDev2-Aug-13 6:49 
GeneralRe: The return a detailed error string but ignore its contents and assume it's only ever the failure case you expected to occur but couldn't be bothered to handle properly pattern Pin
OriginalGriff2-Aug-13 7:03
mveOriginalGriff2-Aug-13 7:03 
GeneralRe: The return a detailed error string but ignore its contents and assume it's only ever the failure case you expected to occur but couldn't be bothered to handle properly pattern Pin
OriginalGriff2-Aug-13 6:38
mveOriginalGriff2-Aug-13 6:38 
GeneralRe: The return a detailed error string but ignore its contents and assume it's only ever the failure case you expected to occur but couldn't be bothered to handle properly pattern Pin
Dan Neely2-Aug-13 8:07
MemberDan Neely2-Aug-13 8:07 
GeneralRe: The return a detailed error string but ignore its contents and assume it's only ever the failure case you expected to occur but couldn't be bothered to handle properly pattern Pin
Lutosław7-Aug-13 0:18
MemberLutosław7-Aug-13 0:18 
GeneralRe: The return a detailed error string but ignore its contents and assume it's only ever the failure case you expected to occur but couldn't be bothered to handle properly pattern Pin
BillW3330-Aug-13 6:40
professionalBillW3330-Aug-13 6:40 
GeneralRe: The return a detailed error string but ignore its contents and assume it's only ever the failure case you expected to occur but couldn't be bothered to handle properly pattern Pin
Dan Neely30-Aug-13 6:53
MemberDan Neely30-Aug-13 6:53 
GeneralMost Unhelpful Message Ever PinPopular
NickPace29-Jul-13 10:26
MemberNickPace29-Jul-13 10:26 
GeneralRe: Most Unhelpful Message Ever Pin
ZurdoDev29-Jul-13 10:49
professionalZurdoDev29-Jul-13 10: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.