Click here to Skip to main content
11,633,494 members (75,896 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, 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.

 
GeneralRe: How do you like your nulls Pin
Tomz_KV10-Dec-12 2:28
memberTomz_KV10-Dec-12 2:28 
GeneralRe: How do you like your nulls Pin
Zac Greve10-Dec-12 9:17
memberZac Greve10-Dec-12 9:17 
GeneralRe: How do you like your nulls Pin
Eddy Vluggen10-Dec-12 14:26
memberEddy Vluggen10-Dec-12 14:26 
GeneralRe: How do you like your nulls Pin
BobJanova9-Dec-12 22:49
memberBobJanova9-Dec-12 22:49 
GeneralRe: How do you like your nulls Pin
RafagaX10-Dec-12 5:28
memberRafagaX10-Dec-12 5:28 
GeneralRe: How do you like your nulls Pin
jibesh12-Dec-12 22:35
memberjibesh12-Dec-12 22:35 
GeneralRe: How do you like your nulls Pin
RafagaX13-Dec-12 4:30
memberRafagaX13-Dec-12 4:30 
GeneralRe: How do you like your nulls Pin
AspDotNetDev10-Dec-12 6:35
protectorAspDotNetDev10-Dec-12 6:35 
JokeRe: How do you like your nulls Pin
Zac Greve10-Dec-12 9:18
memberZac Greve10-Dec-12 9:18 
GeneralRe: How do you like your nulls Pin
Florin Jurcovici11-Dec-12 10:18
memberFlorin Jurcovici11-Dec-12 10:18 
GeneralCount the horrors Pin
Jörgen Andersson6-Dec-12 22:37
memberJörgen Andersson6-Dec-12 22:37 
GeneralRe: Count the horrors Pin
OriginalGriff8-Dec-12 4:38
mvpOriginalGriff8-Dec-12 4:38 
GeneralQ: What is the sound of one value coalescing? Pin
PIEBALDconsult6-Dec-12 8:04
memberPIEBALDconsult6-Dec-12 8:04 
General42 Pin
AspDotNetDev5-Dec-12 13:45
protectorAspDotNetDev5-Dec-12 13: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 14:27
memberZac Greve5-Dec-12 14:27 
GeneralRe: 42 Pin
PIEBALDconsult5-Dec-12 15:13
memberPIEBALDconsult5-Dec-12 15:13 
GeneralRe: 42 Pin
Adam R Harris11-Dec-12 10:13
memberAdam R Harris11-Dec-12 10:13 
GeneralWould you like to buy an IsNull ? Pin
PIEBALDconsult5-Dec-12 8:04
memberPIEBALDconsult5-Dec-12 8:04 
GeneralRe: Would you like to buy an IsNull ? Pin
d@nish 5-Dec-12 8:22
member d@nish 5-Dec-12 8:22 
GeneralRe: Would you like to buy an IsNull ? Pin
PIEBALDconsult5-Dec-12 9:31
memberPIEBALDconsult5-Dec-12 9:31 
GeneralRe: Would you like to buy an IsNull ? Pin
AspDotNetDev5-Dec-12 10:07
protectorAspDotNetDev5-Dec-12 10:07 
GeneralRe: Would you like to buy an IsNull ? Pin
PIEBALDconsult5-Dec-12 12:10
memberPIEBALDconsult5-Dec-12 12:10 
GeneralRe: Would you like to buy an IsNull ? Pin
d@nish 5-Dec-12 21:06
member d@nish 5-Dec-12 21:06 
GeneralRe: Would you like to buy an IsNull ? Pin
KP Lee5-Dec-12 12:36
memberKP Lee5-Dec-12 12:36 
GeneralRe: Would you like to buy an IsNull ? Pin
PIEBALDconsult5-Dec-12 13:11
memberPIEBALDconsult5-Dec-12 13:11 
GeneralRe: Would you like to buy an IsNull ? Pin
Jörgen Andersson6-Dec-12 21:12
memberJörgen Andersson6-Dec-12 21:12 
GeneralWhy do engineers insist on complexity? Pin
Joe Woodbury4-Dec-12 7:33
memberJoe Woodbury4-Dec-12 7:33 
GeneralRe: Why do engineers insist on complexity? Pin
Andrew Rissing4-Dec-12 8:11
memberAndrew Rissing4-Dec-12 8:11 
JokeRe: Why do engineers insist on complexity? Pin
Zac Greve4-Dec-12 8:12
memberZac Greve4-Dec-12 8:12 
GeneralRe: Why do engineers insist on complexity? Pin
Chris Meech4-Dec-12 9:10
memberChris Meech4-Dec-12 9:10 
GeneralRe: Why do engineers insist on complexity? Pin
YvesDaoust4-Dec-12 20:57
memberYvesDaoust4-Dec-12 20:57 
GeneralRe: Why do engineers insist on complexity? Pin
SeattleC++5-Dec-12 7:00
memberSeattleC++5-Dec-12 7:00 
GeneralRe: Why do engineers insist on complexity? Pin
Fran Porretto5-Dec-12 0:50
memberFran Porretto5-Dec-12 0:50 
GeneralRe: Why do engineers insist on complexity? Pin
PSM_300E5-Dec-12 2:16
memberPSM_300E5-Dec-12 2:16 
GeneralRe: Why do engineers insist on complexity? Pin
Fran Porretto5-Dec-12 2:17
memberFran Porretto5-Dec-12 2:17 
GeneralRe: Why do engineers insist on complexity? Pin
PSM_300E5-Dec-12 2:19
memberPSM_300E5-Dec-12 2:19 
GeneralRe: Why do engineers insist on complexity? Pin
Mark H25-Dec-12 8:13
memberMark H25-Dec-12 8:13 
GeneralRe: Why do engineers insist on complexity? Pin
BC @ CV5-Dec-12 5:05
memberBC @ CV5-Dec-12 5:05 
GeneralRe: Why do engineers insist on complexity? Pin
SeattleC++5-Dec-12 7:12
memberSeattleC++5-Dec-12 7:12 
GeneralRe: Why do engineers insist on complexity? Pin
Fran Porretto5-Dec-12 7:31
memberFran Porretto5-Dec-12 7:31 
GeneralRe: Why do engineers insist on complexity? Pin
satovey5-Dec-12 11:16
membersatovey5-Dec-12 11:16 
GeneralRe: Why do engineers insist on complexity? Pin
Fran Porretto6-Dec-12 0:28
memberFran Porretto6-Dec-12 0:28 
GeneralRe: Why do engineers insist on complexity? Pin
0bx6-Dec-12 7:00
member0bx6-Dec-12 7:00 
GeneralRe: Why do engineers insist on complexity? Pin
Frans_551295-Dec-12 1:04
memberFrans_551295-Dec-12 1:04 
GeneralRe: Why do engineers insist on complexity? Pin
BobJanova5-Dec-12 1:22
memberBobJanova5-Dec-12 1:22 
GeneralRe: Why do engineers insist on complexity? Pin
Roger1655-Dec-12 2:26
memberRoger1655-Dec-12 2:26 
GeneralRe: Why do engineers insist on complexity? Pin
RafagaX5-Dec-12 5:03
memberRafagaX5-Dec-12 5:03 
GeneralRe: Why do engineers insist on complexity? Pin
Member 45591065-Dec-12 6:00
memberMember 45591065-Dec-12 6:00 
GeneralRe: Why do engineers insist on complexity? Pin
patbob5-Dec-12 6:04
memberpatbob5-Dec-12 6:04 
GeneralRe: Why do engineers insist on complexity? Pin
Freak305-Dec-12 22:45
memberFreak305-Dec-12 22:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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
Web04 | 2.8.150728.1 | Last Updated 29 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid