Click here to Skip to main content
12,078,795 members (50,135 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.

 
GeneralRe: How do you like your nulls Pin
RafagaX13-Dec-12 5:30
memberRafagaX13-Dec-12 5:30 
GeneralRe: How do you like your nulls Pin
AspDotNetDev10-Dec-12 7:35
protectorAspDotNetDev10-Dec-12 7:35 
JokeRe: How do you like your nulls Pin
Zac Greve10-Dec-12 10:18
memberZac Greve10-Dec-12 10:18 
GeneralRe: How do you like your nulls Pin
Florin Jurcovici11-Dec-12 11:18
memberFlorin Jurcovici11-Dec-12 11:18 
GeneralCount the horrors Pin
Jörgen Andersson6-Dec-12 23:37
memberJörgen Andersson6-Dec-12 23:37 
GeneralRe: Count the horrors Pin
OriginalGriff8-Dec-12 5:38
mvpOriginalGriff8-Dec-12 5:38 
GeneralQ: What is the sound of one value coalescing? Pin
PIEBALDconsult6-Dec-12 9:04
memberPIEBALDconsult6-Dec-12 9:04 
General42 Pin
AspDotNetDev5-Dec-12 14:45
protectorAspDotNetDev5-Dec-12 14:45 
Here's a single line from a horribly formatted SQL view (copied verbatim, minus 58 leading spaces):
WHERE      (MarketingGroupAutoID IN (42))))))) OR
Now that you know the answer (42), we just have to figure out the question. Any theories?

QuestionRe: 42 Pin
Zac Greve5-Dec-12 15:27
memberZac Greve5-Dec-12 15:27 
GeneralRe: 42 Pin
PIEBALDconsult5-Dec-12 16:13
memberPIEBALDconsult5-Dec-12 16:13 
GeneralRe: 42 Pin
Adam R Harris11-Dec-12 11:13
memberAdam R Harris11-Dec-12 11:13 
GeneralWould you like to buy an IsNull ? Pin
PIEBALDconsult5-Dec-12 9:04
memberPIEBALDconsult5-Dec-12 9:04 
GeneralRe: Would you like to buy an IsNull ? Pin
d@nish 5-Dec-12 9:22
member d@nish 5-Dec-12 9:22 
GeneralRe: Would you like to buy an IsNull ? Pin
PIEBALDconsult5-Dec-12 10:31
memberPIEBALDconsult5-Dec-12 10:31 
GeneralRe: Would you like to buy an IsNull ? Pin
AspDotNetDev5-Dec-12 11:07
protectorAspDotNetDev5-Dec-12 11:07 
GeneralRe: Would you like to buy an IsNull ? Pin
PIEBALDconsult5-Dec-12 13:10
memberPIEBALDconsult5-Dec-12 13:10 
GeneralRe: Would you like to buy an IsNull ? Pin
d@nish 5-Dec-12 22:06
member d@nish 5-Dec-12 22:06 
GeneralRe: Would you like to buy an IsNull ? Pin
KP Lee5-Dec-12 13:36
memberKP Lee5-Dec-12 13:36 
GeneralRe: Would you like to buy an IsNull ? Pin
PIEBALDconsult5-Dec-12 14:11
memberPIEBALDconsult5-Dec-12 14:11 
GeneralRe: Would you like to buy an IsNull ? Pin
Jörgen Andersson6-Dec-12 22:12
memberJörgen Andersson6-Dec-12 22:12 
GeneralWhy do engineers insist on complexity? Pin
Joe Woodbury4-Dec-12 8:33
memberJoe Woodbury4-Dec-12 8:33 
GeneralRe: Why do engineers insist on complexity? Pin
Andrew Rissing4-Dec-12 9:11
memberAndrew Rissing4-Dec-12 9:11 
JokeRe: Why do engineers insist on complexity? Pin
Zac Greve4-Dec-12 9:12
memberZac Greve4-Dec-12 9:12 
GeneralRe: Why do engineers insist on complexity? Pin
Chris Meech4-Dec-12 10:10
memberChris Meech4-Dec-12 10:10 
GeneralRe: Why do engineers insist on complexity? Pin
YvesDaoust4-Dec-12 21:57
memberYvesDaoust4-Dec-12 21:57 

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 | Mobile
Web01 | 2.8.160212.1 | Last Updated 14 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid