Click here to Skip to main content
11,629,371 members (63,051 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.

 
QuestionRe: I am in love <3 Pin
Guirec Le Bars17-Jan-13 14:15
memberGuirec Le Bars17-Jan-13 14:15 
GeneralRe: I am in love <3 Pin
PIEBALDconsult17-Jan-13 17:17
memberPIEBALDconsult17-Jan-13 17:17 
AnswerRe: I am in love <3 Pin
Amgad Fahmi17-Jan-13 21:56
memberAmgad Fahmi17-Jan-13 21:56 
GeneralRe: I am in love <3 Pin
deepakaitr1234522-Jan-13 2:08
memberdeepakaitr1234522-Jan-13 2:08 
GeneralReversing time, without a flux capacitor Pin
Gary R. Wheeler17-Jan-13 4:03
memberGary R. Wheeler17-Jan-13 4:03 
GeneralRe: Reversing time, without a flux capacitor Pin
Lloyd Atkinson17-Jan-13 5:57
memberLloyd Atkinson17-Jan-13 5:57 
GeneralRe: Reversing time, without a flux capacitor Pin
Gary R. Wheeler17-Jan-13 9:25
memberGary R. Wheeler17-Jan-13 9:25 
GeneralRe: Reversing time, without a flux capacitor Pin
Lloyd Atkinson17-Jan-13 11:40
memberLloyd Atkinson17-Jan-13 11:40 
GeneralRe: Reversing time, without a flux capacitor Pin
BobJanova21-Jan-13 4:52
memberBobJanova21-Jan-13 4:52 
GeneralRe: Reversing time, without a flux capacitor Pin
Brisingr Aerowing17-Jan-13 14:25
memberBrisingr Aerowing17-Jan-13 14:25 
GeneralRe: Reversing time, without a flux capacitor Pin
BobJanova21-Jan-13 4:56
memberBobJanova21-Jan-13 4:56 
GeneralRe: Reversing time, without a flux capacitor Pin
englebart23-Jan-13 3:35
memberenglebart23-Jan-13 3:35 
GeneralRe: Reversing time, without a flux capacitor Pin
Gary R. Wheeler23-Jan-13 11:45
memberGary R. Wheeler23-Jan-13 11:45 
GeneralRe: Reversing time, without a flux capacitor Pin
Member 793197823-Jan-13 5:44
memberMember 793197823-Jan-13 5:44 
This only works if you have only two calls to OnReceive() happening at once, no? If you have two threads waiting on the lock, what guarantee do you have that the "correct" thread will be the next one to acquire the lock?
Fred the Ranger

GeneralRe: Reversing time, without a flux capacitor Pin
Gary R. Wheeler23-Jan-13 11:58
memberGary R. Wheeler23-Jan-13 11:58 
JokeRe: Reversing time, without a flux capacitor Pin
RafagaX23-Jan-13 6:21
memberRafagaX23-Jan-13 6:21 
GeneralRe: Reversing time, without a flux capacitor Pin
Paulo Zemek23-Jan-13 7:37
memberPaulo Zemek23-Jan-13 7:37 
GeneralRe: Reversing time, without a flux capacitor Pin
Jonathan C Dickinson3-Feb-13 22:47
memberJonathan C Dickinson3-Feb-13 22:47 
GeneralThe best refactoring I have ever seen Pin
matt_taws17-Jan-13 1:29
membermatt_taws17-Jan-13 1:29 
GeneralRe: The best refactoring I have ever seen Pin
Super Lloyd17-Jan-13 2:42
memberSuper Lloyd17-Jan-13 2:42 
GeneralRe: The best refactoring I have ever seen Pin
Jonathan C Dickinson17-Jan-13 3:22
memberJonathan C Dickinson17-Jan-13 3:22 
GeneralRe: The best refactoring I have ever seen Pin
PIEBALDconsult17-Jan-13 3:48
memberPIEBALDconsult17-Jan-13 3:48 
GeneralRe: The best refactoring I have ever seen Pin
Rob Grainger1-Feb-13 3:17
memberRob Grainger1-Feb-13 3:17 
GeneralWhat was I thinking Pin
djj5516-Jan-13 1:15
memberdjj5516-Jan-13 1:15 
GeneralRe: What was I thinking Pin
David Goebet16-Jan-13 1:40
memberDavid Goebet16-Jan-13 1:40 
GeneralRe: What was I thinking Pin
Matt U.16-Jan-13 1:56
memberMatt U.16-Jan-13 1:56 
GeneralRe: What was I thinking Pin
peterchen16-Jan-13 3:24
memberpeterchen16-Jan-13 3:24 
GeneralRe: What was I thinking Pin
G James16-Jan-13 9:57
memberG James16-Jan-13 9:57 
JokeRe: What was I thinking Pin
Chris Maunder16-Jan-13 18:02
adminChris Maunder16-Jan-13 18:02 
GeneralRe: What was I thinking Pin
33deepak16-Jan-13 18:13
member33deepak16-Jan-13 18:13 
GeneralRe: What was I thinking Pin
Chris Maunder16-Jan-13 18:14
adminChris Maunder16-Jan-13 18:14 
GeneralRe: What was I thinking Pin
James Lonero19-Jan-13 11:08
memberJames Lonero19-Jan-13 11:08 
JokeRe: What was I thinking Pin
Andrew Rissing17-Jan-13 5:48
memberAndrew Rissing17-Jan-13 5:48 
GeneralRe: What was I thinking Pin
Chris Maunder17-Jan-13 9:43
adminChris Maunder17-Jan-13 9:43 
GeneralRe: What was I thinking Pin
Andrew Rissing17-Jan-13 9:55
memberAndrew Rissing17-Jan-13 9:55 
JokeRe: What was I thinking Pin
Jecc22-Jan-13 23:56
memberJecc22-Jan-13 23:56 
GeneralRe: What was I thinking Pin
Nagy Vilmos23-Jan-13 0:33
memberNagy Vilmos23-Jan-13 0:33 
GeneralRe: What was I thinking Pin
Jonathan C Dickinson16-Jan-13 21:21
memberJonathan C Dickinson16-Jan-13 21:21 
GeneralRe: What was I thinking Pin
Sentenryu16-Jan-13 22:23
memberSentenryu16-Jan-13 22:23 
GeneralRe: What was I thinking Pin
Jonathan C Dickinson16-Jan-13 22:26
memberJonathan C Dickinson16-Jan-13 22:26 
GeneralRe: What was I thinking Pin
Ranjan.D17-Jan-13 11:32
memberRanjan.D17-Jan-13 11:32 
GeneralRe: What was I thinking Pin
Rob Grainger1-Feb-13 3:21
memberRob Grainger1-Feb-13 3:21 
GeneralRe: What was I thinking Pin
Tomz_KV17-Jan-13 2:58
memberTomz_KV17-Jan-13 2:58 
RantHappy new year... kind of... Pin
hoernchenmeister15-Jan-13 22:03
memberhoernchenmeister15-Jan-13 22:03 
GeneralRe: Happy new year... kind of... Pin
PIEBALDconsult16-Jan-13 3:50
memberPIEBALDconsult16-Jan-13 3:50 
GeneralRe: Happy new year... kind of... Pin
hoernchenmeister16-Jan-13 5:06
memberhoernchenmeister16-Jan-13 5:06 
GeneralRe: Happy new year... kind of... Pin
Matthys Terblanche16-Jan-13 21:08
memberMatthys Terblanche16-Jan-13 21:08 
GeneralRe: Happy new year... kind of... Pin
Gary Huck17-Jan-13 3:41
memberGary Huck17-Jan-13 3:41 
GeneralRe: Happy new year... kind of... Pin
Dave Kreskowiak17-Jan-13 5:26
mvpDave Kreskowiak17-Jan-13 5:26 
GeneralRe: Happy new year... kind of... Pin
Jörgen Andersson17-Jan-13 9:04
memberJörgen Andersson17-Jan-13 9:04 

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