Click here to Skip to main content
13,201,452 members (76,901 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: Ah the joys of working in a team Pin
Ravi Bhavnani21-Jan-14 4:58
professionalRavi Bhavnani21-Jan-14 4:58 
GeneralAnother gem from the VB6 code I'm "porting" Pin
Rob Grainger16-Jan-14 23:25
memberRob Grainger16-Jan-14 23:25 
GeneralRe: Another gem from the VB6 code I'm "porting" Pin
NormDroid16-Jan-14 23:51
professionalNormDroid16-Jan-14 23:51 
GeneralRe: Another gem from the VB6 code I'm "porting" Pin
Rob Grainger17-Jan-14 0:01
memberRob Grainger17-Jan-14 0:01 
GeneralRe: Another gem from the VB6 code I'm "porting" Pin
Chris Quinn17-Jan-14 3:11
memberChris Quinn17-Jan-14 3:11 
GeneralRe: Another gem from the VB6 code I'm "porting" Pin
Rob Grainger17-Jan-14 3:16
memberRob Grainger17-Jan-14 3:16 
GeneralRe: Another gem from the VB6 code I'm "porting" Pin
Richard Deeming17-Jan-14 1:33
professionalRichard Deeming17-Jan-14 1:33 
GeneralRe: Another gem from the VB6 code I'm "porting" Pin
Rob Grainger17-Jan-14 3:10
memberRob Grainger17-Jan-14 3:10 
GeneralRe: Another gem from the VB6 code I'm "porting" Pin
Richard Deeming17-Jan-14 3:35
professionalRichard Deeming17-Jan-14 3:35 
GeneralRe: Another gem from the VB6 code I'm "porting" Pin
Ron Beyer17-Jan-14 4:48
mvpRon Beyer17-Jan-14 4:48 
GeneralRe: Another gem from the VB6 code I'm "porting" Pin
Freak3019-Jan-14 23:41
memberFreak3019-Jan-14 23:41 
GeneralRe: Another gem from the VB6 code I'm "porting" Pin
Sentenryu20-Jan-14 4:00
memberSentenryu20-Jan-14 4:00 
GeneralRe: Another gem from the VB6 code I'm "porting" Pin
Marc Clifton21-Jan-14 2:12
protectorMarc Clifton21-Jan-14 2:12 
GeneralA backslash in C++ Pin
Tsuda Kageyu14-Jan-14 20:56
memberTsuda Kageyu14-Jan-14 20:56 
My co-worker was struggling with a bug in an old C++ program.
// Sometimes carry out the work \
if (flag) {
   SomeWork();
}

SomeWork() was called regardless of the value of flag. It took her a few hours to find a backslash at the end of the comment.
GeneralRe: A backslash in C++ Pin
Duncan Edwards Jones14-Jan-14 21:02
memberDuncan Edwards Jones14-Jan-14 21:02 
GeneralRe: A backslash in C++ Pin
Bernhard Hiller14-Jan-14 21:04
professionalBernhard Hiller14-Jan-14 21:04 
GeneralRe: A backslash in C++ Pin
Tsuda Kageyu14-Jan-14 21:13
memberTsuda Kageyu14-Jan-14 21:13 
GeneralRe: A backslash in C++ Pin
Bernhard Hiller14-Jan-14 21:44
professionalBernhard Hiller14-Jan-14 21:44 
GeneralRe: A backslash in C++ Pin
Nicholas Marty15-Jan-14 0:43
professionalNicholas Marty15-Jan-14 0:43 
GeneralRe: A backslash in C++ Pin
Rob Grainger16-Jan-14 23:54
memberRob Grainger16-Jan-14 23:54 
GeneralRe: A backslash in C++ Pin
Jacek Gajek17-Jan-14 9:43
memberJacek Gajek17-Jan-14 9:43 
GeneralRe: A backslash in C++ Pin
Argonia14-Jan-14 21:25
memberArgonia14-Jan-14 21:25 
GeneralRe: A backslash in C++ Pin
Pete O'Hanlon14-Jan-14 21:40
protectorPete O'Hanlon14-Jan-14 21:40 
GeneralRe: A backslash in C++ Pin
Argonia14-Jan-14 21:50
memberArgonia14-Jan-14 21:50 
GeneralRe: A backslash in C++ Pin
Pete O'Hanlon14-Jan-14 22:28
protectorPete O'Hanlon14-Jan-14 22:28 
GeneralRe: A backslash in C++ Pin
Sentenryu14-Jan-14 22:38
memberSentenryu14-Jan-14 22:38 
GeneralRe: A backslash in C++ Pin
Pete O'Hanlon14-Jan-14 22:45
protectorPete O'Hanlon14-Jan-14 22:45 
GeneralRe: A backslash in C++ Pin
Argonia14-Jan-14 22:49
memberArgonia14-Jan-14 22:49 
GeneralRe: A backslash in C++ Pin
Pete O'Hanlon14-Jan-14 22:52
protectorPete O'Hanlon14-Jan-14 22:52 
GeneralRe: A backslash in C++ Pin
Sentenryu14-Jan-14 23:08
memberSentenryu14-Jan-14 23:08 
GeneralRe: A backslash in C++ Pin
Pete O'Hanlon14-Jan-14 23:11
protectorPete O'Hanlon14-Jan-14 23:11 
GeneralRe: A backslash in C++ Pin
Sentenryu14-Jan-14 23:15
memberSentenryu14-Jan-14 23:15 
GeneralRe: A backslash in C++ Pin
Pete O'Hanlon14-Jan-14 23:24
protectorPete O'Hanlon14-Jan-14 23:24 
GeneralRe: A backslash in C++ Pin
Nagy Vilmos14-Jan-14 23:57
professionalNagy Vilmos14-Jan-14 23:57 
GeneralRe: A backslash in C++ Pin
Sentenryu15-Jan-14 0:06
memberSentenryu15-Jan-14 0:06 
GeneralRe: A backslash in C++ Pin
Chris Quinn14-Jan-14 23:55
memberChris Quinn14-Jan-14 23:55 
GeneralRe: A backslash in C++ Pin
Brisingr Aerowing15-Jan-14 14:34
professionalBrisingr Aerowing15-Jan-14 14:34 
GeneralRe: A backslash in C++ Pin
Im_no_troll23-Jan-14 5:15
memberIm_no_troll23-Jan-14 5:15 
GeneralRe: A backslash in C++ Pin
Brisingr Aerowing10-Feb-14 15:29
professionalBrisingr Aerowing10-Feb-14 15:29 
GeneralRe: A backslash in C++ Pin
Im_no_troll23-Jan-14 5:14
memberIm_no_troll23-Jan-14 5:14 
GeneralRe: A backslash in C++ Pin
Argonia14-Jan-14 22:46
memberArgonia14-Jan-14 22:46 
GeneralRe: A backslash in C++ Pin
Nagy Vilmos14-Jan-14 23:59
professionalNagy Vilmos14-Jan-14 23:59 
GeneralRe: A backslash in C++ Pin
Argonia15-Jan-14 0:02
memberArgonia15-Jan-14 0:02 
GeneralRe: A backslash in C++ Pin
CPallini15-Jan-14 2:22
mvpCPallini15-Jan-14 2:22 
GeneralRe: A backslash in C++ Pin
CPallini15-Jan-14 2:17
mvpCPallini15-Jan-14 2:17 
GeneralRe: A backslash in C++ Pin
Pablo Aliskevicius14-Jan-14 23:50
memberPablo Aliskevicius14-Jan-14 23:50 
GeneralRe: A backslash in C++ Pin
Sentenryu15-Jan-14 0:09
memberSentenryu15-Jan-14 0:09 
GeneralRe: A backslash in C++ Pin
OriginalGriff15-Jan-14 0:15
protectorOriginalGriff15-Jan-14 0:15 
GeneralRe: A backslash in C++ Pin
Sentenryu15-Jan-14 1:38
memberSentenryu15-Jan-14 1:38 
GeneralRe: A backslash in C++ Pin
OriginalGriff15-Jan-14 2:13
protectorOriginalGriff15-Jan-14 2:13 

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 |
Web03 | 2.8.171020.1 | Last Updated 23 Oct 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid