Click here to Skip to main content
11,413,961 members (71,813 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: What this 'null' check doing here... Pin
KP Lee, 10-Jul-13 20:22
memberKP Lee10-Jul-13 20:22 
GeneralRe: What this 'null' check doing here... Pin
bencr, 10-Jul-13 4:16
memberbencr10-Jul-13 4:16 
GeneralRe: What this 'null' check doing here... Pin
KP Lee, 10-Jul-13 20:52
memberKP Lee10-Jul-13 20:52 
GeneralRe: What this 'null' check doing here... Pin
peterchen, 8-Jul-13 4:21
memberpeterchen8-Jul-13 4:21 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed, 8-Jul-13 4:25
professionalMohammed Hameed8-Jul-13 4:25 
GeneralRe: What this 'null' check doing here... Pin
jim lahey, 8-Jul-13 5:03
memberjim lahey8-Jul-13 5:03 
GeneralRe: What this 'null' check doing here... Pin
englebart, 10-Jul-13 5:18
memberenglebart10-Jul-13 5:18 
GeneralRe: What this 'null' check doing here... Pin
peterchen, 10-Jul-13 10:22
memberpeterchen10-Jul-13 10:22 
That's a real conundrum for the GC -

"OK, if this object is still around, at this point, I can't GC it until then. But... but what if I ... secretlly GC it before the if?"

GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed, 10-Jul-13 20:50
professionalMohammed Hameed10-Jul-13 20:50 
JokeRe: What this 'null' check doing here... Pin
VallarasuS, 8-Jul-13 4:21
memberVallarasuS8-Jul-13 4:21 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed, 8-Jul-13 4:27
professionalMohammed Hameed8-Jul-13 4:27 
GeneralRe: What this 'null' check doing here... Pin
Nicholas Marty, 8-Jul-13 5:36
professionalNicholas Marty8-Jul-13 5:36 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed, 8-Jul-13 9:57
professionalMohammed Hameed8-Jul-13 9:57 
GeneralRe: What this 'null' check doing here... Pin
Trajan McGill, 8-Jul-13 6:34
memberTrajan McGill8-Jul-13 6:34 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed, 8-Jul-13 9:56
professionalMohammed Hameed8-Jul-13 9:56 
GeneralMessage Removed Pin
Brisingr Aerowing, 8-Jul-13 16:02
professionalBrisingr Aerowing8-Jul-13 16:02 
GeneralMessage Removed Pin
ProgramFOX, 9-Jul-13 0:42
member ProgramFOX9-Jul-13 0:42 
JokeRe: What this 'null' check doing here... Pin
ryanb31, 9-Jul-13 5:19
memberryanb319-Jul-13 5:19 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed, 10-Jul-13 20:55
professionalMohammed Hameed10-Jul-13 20:55 
GeneralRe: What this 'null' check doing here... Pin
ryanb31, 11-Jul-13 2:32
memberryanb3111-Jul-13 2:32 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed, 11-Jul-13 2:35
professionalMohammed Hameed11-Jul-13 2:35 
JokeRe: What this 'null' check doing here... Pin
Lucian Gadau, 10-Jul-13 2:23
memberLucian Gadau10-Jul-13 2:23 
GeneralRe: What this 'null' check doing here... Pin
vonb, 9-Jul-13 2:35
professionalvonb9-Jul-13 2:35 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed, 9-Jul-13 2:39
professionalMohammed Hameed9-Jul-13 2:39 
RantRe: What this 'null' check doing here... Pin
Richard Deeming, 9-Jul-13 3:58
professionalRichard Deeming9-Jul-13 3:58 

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
Web03 | 2.8.150427.2 | Last Updated 27 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid