Click here to Skip to main content

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: Extract from the code I'm working on PinmemberKP Lee11-Dec-12 13:08 
GeneralRe: Extract from the code I'm working on PinmemberSuper Lloyd11-Dec-12 23:04 
GeneralRe: Extract from the code I'm working on PinmemberNemanja Trifunovic13-Dec-12 8:29 
GeneralRe: Extract from the code I'm working on PinmemberSuper Lloyd13-Dec-12 14:12 
GeneralNo foreign keys on the first date. PinmemberBrady Kelly9-Dec-12 3:21 
GeneralRe: No foreign keys on the first date. PinmemberKP Lee11-Dec-12 9:17 
GeneralRe: No foreign keys on the first date. PinmemberBrady Kelly11-Dec-12 9:34 
GeneralRe: No foreign keys on the first date. PinmemberKP Lee11-Dec-12 12:33 
GeneralRe: No foreign keys on the first date. PinprotectorPete O'Hanlon11-Dec-12 10:10 
GeneralRe: No foreign keys on the first date. PinmemberBrady Kelly11-Dec-12 17:36 
GeneralRe: No foreign keys on the first date. PinmemberAndrew Rissing13-Dec-12 7:42 
GeneralRe: No foreign keys on the first date. Pinmemberryan_b200917-Dec-12 7:55 
GeneralRe: No foreign keys on the first date. PinmemberBrady Kelly17-Dec-12 8:04 
GeneralHow do you like your nulls PinmemberRobert Hoffmann8-Dec-12 2:57 
In a project i had to refactor:
 
if (!string.isNullOrEmpty(User.ToString())) {
 
}
 

null.ToString() ?? sweet Big Grin | :-D
GeneralRe: How do you like your nulls PinmemberZac Greve8-Dec-12 8:25 
GeneralRe: How do you like your nulls Pinmemberlewax008-Dec-12 16:32 
GeneralRe: How do you like your nulls PinmemberZac Greve8-Dec-12 17:23 
GeneralRe: How do you like your nulls Pinmemberlewax008-Dec-12 17:33 
AnswerRe: How do you like your nulls PinmemberRobert Hoffmann9-Dec-12 0:55 
GeneralRe: How do you like your nulls Pinmemberlewax009-Dec-12 1:35 
GeneralRe: How do you like your nulls PinmemberRobert Hoffmann9-Dec-12 10:39 
GeneralRe: How do you like your nulls Pinmemberpatbob10-Dec-12 6:32 
GeneralRe: How do you like your nulls PinmemberTomz_KV10-Dec-12 3:28 
GeneralRe: How do you like your nulls PinmemberZac Greve10-Dec-12 10:17 
GeneralRe: How do you like your nulls PinmemberEddy Vluggen10-Dec-12 15:26 
GeneralRe: How do you like your nulls PinmemberBobJanova9-Dec-12 23:49 
GeneralRe: How do you like your nulls PinmemberRafagaX10-Dec-12 6:28 
GeneralRe: How do you like your nulls Pinmemberjibesh12-Dec-12 23:35 
GeneralRe: How do you like your nulls PinmemberRafagaX13-Dec-12 5:30 
GeneralRe: How do you like your nulls PinprotectorAspDotNetDev10-Dec-12 7:35 
JokeRe: How do you like your nulls PinmemberZac Greve10-Dec-12 10:18 
GeneralRe: How do you like your nulls PinmemberFlorin Jurcovici11-Dec-12 11:18 
GeneralCount the horrors PinmemberJörgen Andersson6-Dec-12 23:37 
GeneralRe: Count the horrors PinmvpOriginalGriff8-Dec-12 5:38 
GeneralQ: What is the sound of one value coalescing? PinmemberPIEBALDconsult6-Dec-12 9:04 
General42 PinprotectorAspDotNetDev5-Dec-12 14:45 
QuestionRe: 42 PinmemberZac Greve5-Dec-12 15:27 
GeneralRe: 42 PinmemberPIEBALDconsult5-Dec-12 16:13 
GeneralRe: 42 PinmemberAdam R Harris11-Dec-12 11:13 
GeneralWould you like to buy an IsNull ? PinmemberPIEBALDconsult5-Dec-12 9:04 
GeneralRe: Would you like to buy an IsNull ? Pinmember d@nish 5-Dec-12 9:22 
GeneralRe: Would you like to buy an IsNull ? PinmemberPIEBALDconsult5-Dec-12 10:31 
GeneralRe: Would you like to buy an IsNull ? PinprotectorAspDotNetDev5-Dec-12 11:07 
GeneralRe: Would you like to buy an IsNull ? PinmemberPIEBALDconsult5-Dec-12 13:10 
GeneralRe: Would you like to buy an IsNull ? Pinmember d@nish 5-Dec-12 22:06 
GeneralRe: Would you like to buy an IsNull ? PinmemberKP Lee5-Dec-12 13:36 
GeneralRe: Would you like to buy an IsNull ? PinmemberPIEBALDconsult5-Dec-12 14:11 
GeneralRe: Would you like to buy an IsNull ? PinmemberJörgen Andersson6-Dec-12 22:12 
GeneralWhy do engineers insist on complexity? PinmemberJoe Woodbury4-Dec-12 8:33 
GeneralRe: Why do engineers insist on complexity? PinmemberAndrew Rissing4-Dec-12 9:11 

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
Web01 | 2.8.141220.1 | Last Updated 20 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid