Click here to Skip to main content
11,487,979 members (78,701 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: Expletive Deleted Pin
RafagaX11-Jul-13 5:43
memberRafagaX11-Jul-13 5:43 
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 
Pete O'Hanlon wrote:
I was reading != as == here
Thanks for the explanation, for a normally sensible person, I was wondering what you were smoking or what I missed with your prior comment too.
GeneralRe: What this 'null' check doing here... Pin
bencr10-Jul-13 4:16
memberbencr10-Jul-13 4:16 
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... Pin
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 

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