Click here to Skip to main content
11,720,547 members (66,835 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: No foreign keys on the first date. Pin
Brady Kelly11-Dec-12 8:34
memberBrady Kelly11-Dec-12 8:34 
GeneralRe: No foreign keys on the first date. Pin
KP Lee11-Dec-12 11:33
memberKP Lee11-Dec-12 11:33 
GeneralRe: No foreign keys on the first date. Pin
Pete O'Hanlon11-Dec-12 9:10
protectorPete O'Hanlon11-Dec-12 9:10 
GeneralRe: No foreign keys on the first date. Pin
Brady Kelly11-Dec-12 16:36
memberBrady Kelly11-Dec-12 16:36 
GeneralRe: No foreign keys on the first date. Pin
Andrew Rissing13-Dec-12 6:42
memberAndrew Rissing13-Dec-12 6:42 
GeneralRe: No foreign keys on the first date. Pin
ryan_b200917-Dec-12 6:55
memberryan_b200917-Dec-12 6:55 
GeneralRe: No foreign keys on the first date. Pin
Brady Kelly17-Dec-12 7:04
memberBrady Kelly17-Dec-12 7:04 
GeneralHow do you like your nulls Pin
Robert Hoffmann8-Dec-12 1:57
memberRobert Hoffmann8-Dec-12 1: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 Pin
Zac Greve8-Dec-12 7:25
memberZac Greve8-Dec-12 7:25 
GeneralRe: How do you like your nulls Pin
lewax008-Dec-12 15:32
memberlewax008-Dec-12 15:32 
GeneralRe: How do you like your nulls Pin
Zac Greve8-Dec-12 16:23
memberZac Greve8-Dec-12 16:23 
GeneralRe: How do you like your nulls Pin
lewax008-Dec-12 16:33
memberlewax008-Dec-12 16:33 
AnswerRe: How do you like your nulls Pin
Robert Hoffmann8-Dec-12 23:55
memberRobert Hoffmann8-Dec-12 23:55 
GeneralRe: How do you like your nulls Pin
lewax009-Dec-12 0:35
memberlewax009-Dec-12 0:35 
GeneralRe: How do you like your nulls Pin
Robert Hoffmann9-Dec-12 9:39
memberRobert Hoffmann9-Dec-12 9:39 
GeneralRe: How do you like your nulls Pin
patbob10-Dec-12 5:32
memberpatbob10-Dec-12 5:32 
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 

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
Web02 | 2.8.150901.1 | Last Updated 4 Sep 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid