Click here to Skip to main content
15,910,234 members

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: Cobol Horror Pin
_Maxxx_24-Jun-08 12:28
professional_Maxxx_24-Jun-08 12:28 
GeneralRe: Cobol Horror Pin
leppie24-Jun-08 22:55
leppie24-Jun-08 22:55 
GeneralRe: Cobol Horror Pin
_Maxxx_25-Jun-08 12:18
professional_Maxxx_25-Jun-08 12:18 
GeneralRe: Cobol Horror Pin
Pete O'Hanlon27-Jun-08 11:56
mvePete O'Hanlon27-Jun-08 11:56 
GeneralRe: Cobol Horror Pin
Paul Conrad1-Jul-08 19:31
professionalPaul Conrad1-Jul-08 19:31 
GeneralA real gem. Pin
Tom Delany23-Jun-08 12:16
Tom Delany23-Jun-08 12:16 
GeneralRe: A real gem. Pin
Paul Conrad23-Jun-08 13:40
professionalPaul Conrad23-Jun-08 13:40 
GeneralRe: A real gem. Pin
leppie23-Jun-08 20:59
leppie23-Jun-08 20:59 
Tom Delany wrote:
Note how nothing checks to be sure pWndNotes or pWndAppts are not NULL (until it is too late)


Without knowing the code, their could be the situation that pWndNotes or pWndAppts cannot be NULL if hWnd is not NULL. The converse is not true, hence the extra check.

xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 4a out now (29 May 2008)

RantRe: A real gem. Pin
Tom Delany24-Jun-08 3:58
Tom Delany24-Jun-08 3:58 
GeneralRe: A real gem. Pin
leppie24-Jun-08 6:08
leppie24-Jun-08 6:08 
GeneralStop the madness... PinPopular
Jeremy Tierman16-Jun-08 12:22
Jeremy Tierman16-Jun-08 12:22 
GeneralRe: Stop the madness... Pin
SomeGuyThatIsMe17-Jun-08 0:56
SomeGuyThatIsMe17-Jun-08 0:56 
GeneralRe: Stop the madness... Pin
Jeremy Tierman17-Jun-08 5:57
Jeremy Tierman17-Jun-08 5:57 
GeneralRe: Stop the madness... Pin
SomeGuyThatIsMe17-Jun-08 6:04
SomeGuyThatIsMe17-Jun-08 6:04 
GeneralRe: Stop the madness... Pin
Megidolaon17-Jun-08 3:32
Megidolaon17-Jun-08 3:32 
GeneralRe: Stop the madness... Pin
Jeremy Tierman17-Jun-08 5:59
Jeremy Tierman17-Jun-08 5:59 
GeneralRe: Stop the madness... Pin
Megidolaon18-Jun-08 3:45
Megidolaon18-Jun-08 3:45 
GeneralRe: Stop the madness... Pin
AJMH18-Jun-08 4:53
AJMH18-Jun-08 4:53 
JokeOnce my junior wanted extra perfection!!!!!! Pin
Anand Desai13-Jun-08 22:52
Anand Desai13-Jun-08 22:52 
GeneralRe: Once my junior wanted extra perfection!!!!!! PinPopular
leppie14-Jun-08 0:12
leppie14-Jun-08 0:12 
GeneralRe: Once my junior wanted extra perfection!!!!!! Pin
Brady Kelly14-Jun-08 0:27
Brady Kelly14-Jun-08 0:27 
GeneralRe: Once my junior wanted extra perfection!!!!!! Pin
PIEBALDconsult14-Jun-08 5:28
mvePIEBALDconsult14-Jun-08 5:28 
GeneralRe: Once my junior wanted extra perfection!!!!!! Pin
Mike Dimmick15-Jun-08 13:10
Mike Dimmick15-Jun-08 13:10 
JokeRe: Once my junior wanted extra perfection!!!!!! Pin
KarstenK20-Jun-08 3:13
mveKarstenK20-Jun-08 3:13 
GeneralRe: Once my junior wanted extra perfection!!!!!! PinPopular
Christian Graus15-Jun-08 5:07
protectorChristian Graus15-Jun-08 5:07 

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.