Click here to Skip to main content
13,451,731 members (46,562 online)

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.

GeneralHandling "Special" Cases in "Special" Ways Pin
AspDotNetDev23-Jan-13 14:14
protectorAspDotNetDev23-Jan-13 14:14 
GeneralRe: Handling "Special" Cases in "Special" Ways Pin
PIEBALDconsult23-Jan-13 20:38
memberPIEBALDconsult23-Jan-13 20:38 
GeneralRe: Handling "Special" Cases in "Special" Ways Pin
Robert Rohde23-Jan-13 20:42
memberRobert Rohde23-Jan-13 20:42 
GeneralRe: Handling "Special" Cases in "Special" Ways Pin
PIEBALDconsult23-Jan-13 20:49
memberPIEBALDconsult23-Jan-13 20:49 
GeneralRe: Handling "Special" Cases in "Special" Ways Pin
peterchen28-Jan-13 21:57
memberpeterchen28-Jan-13 21:57 
Are you by chance working in a funny language where !(a<>b) does not mean b can be used instead of a in all contexts?

Let's say you have a language where null == "" (for simplicity, you know?) Then you have an API that does not follow that convention and throws on a null.

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.

Advertise | Privacy |
Web01 | 2.8.180318.3 | Last Updated 20 Mar 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid