Click here to Skip to main content
12,242,812 members (40,578 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, embarrassing 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: Expletive Deleted Pin
Rob Grainger16-Jul-13 0:05
memberRob Grainger16-Jul-13 0:05 
GeneralWhat this 'null' check doing here... Pin
Mohammed Hameed8-Jul-13 4:06
professionalMohammed Hameed8-Jul-13 4:06 
GeneralRe: What this 'null' check doing here... Pin
Pete O'Hanlon8-Jul-13 4:19
protectorPete O'Hanlon8-Jul-13 4:19 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed8-Jul-13 4:29
professionalMohammed Hameed8-Jul-13 4:29 
GeneralRe: What this 'null' check doing here... Pin
Pete O'Hanlon8-Jul-13 4:30
protectorPete O'Hanlon8-Jul-13 4:30 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed8-Jul-13 4:36
professionalMohammed Hameed8-Jul-13 4:36 
GeneralRe: What this 'null' check doing here... Pin
KP Lee10-Jul-13 20:22
memberKP Lee10-Jul-13 20:22 
GeneralRe: What this 'null' check doing here... Pin
bencr10-Jul-13 4:16
memberbencr10-Jul-13 4:16 
It isn't really filling the list, it's replacing the reference with the result of that method call. I don't think that's what he meant though. A bit pedantic, I'm sorry.
GeneralRe: What this 'null' check doing here... Pin
KP Lee10-Jul-13 20:52
memberKP Lee10-Jul-13 20:52 
GeneralRe: What this 'null' check doing here... Pin
peterchen8-Jul-13 4:21
memberpeterchen8-Jul-13 4:21 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed8-Jul-13 4:25
professionalMohammed Hameed8-Jul-13 4:25 
GeneralRe: What this 'null' check doing here... Pin
jim lahey8-Jul-13 5:03
memberjim lahey8-Jul-13 5:03 
GeneralRe: What this 'null' check doing here... Pin
englebart10-Jul-13 5:18
memberenglebart10-Jul-13 5:18 
GeneralRe: What this 'null' check doing here... Pin
peterchen10-Jul-13 10:22
memberpeterchen10-Jul-13 10:22 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed10-Jul-13 20:50
professionalMohammed Hameed10-Jul-13 20:50 
JokeRe: What this 'null' check doing here... Pin
VallarasuS8-Jul-13 4:21
memberVallarasuS8-Jul-13 4:21 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed8-Jul-13 4:27
professionalMohammed Hameed8-Jul-13 4:27 
GeneralRe: What this 'null' check doing here... PinPopular
Nicholas Marty8-Jul-13 5:36
professionalNicholas Marty8-Jul-13 5:36 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed8-Jul-13 9:57
professionalMohammed Hameed8-Jul-13 9:57 
GeneralRe: What this 'null' check doing here... Pin
Trajan McGill8-Jul-13 6:34
memberTrajan McGill8-Jul-13 6:34 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed8-Jul-13 9:56
professionalMohammed Hameed8-Jul-13 9:56 
GeneralMessage Removed Pin
Brisingr Aerowing8-Jul-13 16:02
professionalBrisingr Aerowing8-Jul-13 16:02 
GeneralMessage Removed Pin
ProgramFOX9-Jul-13 0:42
member ProgramFOX9-Jul-13 0:42 
JokeRe: What this 'null' check doing here... Pin
ryanb319-Jul-13 5:19
memberryanb319-Jul-13 5:19 
GeneralRe: What this 'null' check doing here... Pin
Mohammed Hameed10-Jul-13 20:55
professionalMohammed Hameed10-Jul-13 20:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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.160426.1 | Last Updated 30 Apr 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid