Click here to Skip to main content
11,478,619 members (64,288 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 17:36
memberBrady Kelly11-Dec-12 17:36 
GeneralRe: No foreign keys on the first date. Pin
Andrew Rissing13-Dec-12 7:42
memberAndrew Rissing13-Dec-12 7:42 
GeneralRe: No foreign keys on the first date. Pin
ryan_b200917-Dec-12 7:55
memberryan_b200917-Dec-12 7:55 
GeneralRe: No foreign keys on the first date. Pin
Brady Kelly17-Dec-12 8:04
memberBrady Kelly17-Dec-12 8:04 
GeneralHow do you like your nulls Pin
Robert Hoffmann8-Dec-12 2:57
memberRobert Hoffmann8-Dec-12 2:57 
GeneralRe: How do you like your nulls Pin
Zac Greve8-Dec-12 8:25
memberZac Greve8-Dec-12 8:25 
GeneralRe: How do you like your nulls Pin
lewax008-Dec-12 16:32
memberlewax008-Dec-12 16:32 
GeneralRe: How do you like your nulls Pin
Zac Greve8-Dec-12 17:23
memberZac Greve8-Dec-12 17:23 
ToString is an instance method, and if the user variable is null, there will be an unhandled NullReferenceException when the ToString() is called, as you cannot call a method on a null object.

Bob Dole
The internet is a great way to get on the net.

D'Oh! | :doh: 2.0.82.7292 SP6a

GeneralRe: How do you like your nulls Pin
lewax008-Dec-12 17:33
memberlewax008-Dec-12 17:33 
AnswerRe: How do you like your nulls Pin
Robert Hoffmann9-Dec-12 0:55
memberRobert Hoffmann9-Dec-12 0:55 
GeneralRe: How do you like your nulls Pin
lewax009-Dec-12 1:35
memberlewax009-Dec-12 1:35 
GeneralRe: How do you like your nulls Pin
Robert Hoffmann9-Dec-12 10:39
memberRobert Hoffmann9-Dec-12 10:39 
GeneralRe: How do you like your nulls Pin
patbob10-Dec-12 6:32
memberpatbob10-Dec-12 6:32 
GeneralRe: How do you like your nulls Pin
Tomz_KV10-Dec-12 3:28
memberTomz_KV10-Dec-12 3:28 
GeneralRe: How do you like your nulls Pin
Zac Greve10-Dec-12 10:17
memberZac Greve10-Dec-12 10:17 
GeneralRe: How do you like your nulls Pin
Eddy Vluggen10-Dec-12 15:26
memberEddy Vluggen10-Dec-12 15:26 
GeneralRe: How do you like your nulls Pin
BobJanova9-Dec-12 23:49
memberBobJanova9-Dec-12 23:49 
GeneralRe: How do you like your nulls Pin
RafagaX10-Dec-12 6:28
memberRafagaX10-Dec-12 6:28 
GeneralRe: How do you like your nulls Pin
jibesh12-Dec-12 23:35
memberjibesh12-Dec-12 23:35 
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 

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.150520.1 | Last Updated 22 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid