Click here to Skip to main content
11,581,515 members (60,427 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: IF-free codes Pin
SarK0Y29-Oct-14 9:16
memberSarK0Y29-Oct-14 9:16 
AnswerRe: IF-free codes Pin
Ingo31-Oct-14 1:41
memberIngo31-Oct-14 1:41 
GeneralRe: IF-free codes Pin
Dave Kreskowiak5-Mar-13 3:53
mvpDave Kreskowiak5-Mar-13 3:53 
GeneralSpurious use of goto... Pin
Rob Grainger7-Feb-13 1:46
memberRob Grainger7-Feb-13 1:46 
GeneralRe: Spurious use of goto... Pin
joe_j7-Feb-13 23:37
memberjoe_j7-Feb-13 23:37 
General77 Pin
AspDotNetDev6-Feb-13 12:43
protectorAspDotNetDev6-Feb-13 12:43 
GeneralRe: 77 Pin
Marco Bertschi16-Feb-13 5:17
memberMarco Bertschi16-Feb-13 5:17 
GeneralRe: 77 Pin
Naerling18-Feb-13 20:48
memberNaerling18-Feb-13 20:48 
I'm sure I already read this a few weeks ago... Did you get stuck in a loop? Codebase day...?
It's an OO world.
public class Naerling : Lazy<Person>{
    public void DoWork(){ throw new NotImplementedException(); }
}

GeneralRe: 77 Pin
AspDotNetDev19-Feb-13 7:12
protectorAspDotNetDev19-Feb-13 7:12 
GeneralRe: 77 Pin
AspDotNetDev19-Feb-13 7:15
protectorAspDotNetDev19-Feb-13 7:15 
GeneralRe: 77 Pin
Naerling19-Feb-13 7:22
memberNaerling19-Feb-13 7:22 
Generalworking with Dates... Pin
joe_j6-Feb-13 3:03
memberjoe_j6-Feb-13 3:03 
GeneralRe: working with Dates... Pin
Stefan_Lang7-Feb-13 1:40
memberStefan_Lang7-Feb-13 1:40 
JokeRe: working with Dates... Pin
V.8-Feb-13 0:13
memberV.8-Feb-13 0:13 
GeneralRe: working with Dates... Pin
joe_j8-Feb-13 0:17
memberjoe_j8-Feb-13 0:17 
GeneralWhen you aren't even sure WHY you're writing bad code Pin
philip_cole5-Feb-13 23:26
memberphilip_cole5-Feb-13 23:26 
GeneralRe: When you aren't even sure WHY you're writing bad code Pin
joe_j6-Feb-13 3:05
memberjoe_j6-Feb-13 3:05 
GeneralRe: When you aren't even sure WHY you're writing bad code Pin
s_mon6-Feb-13 3:38
members_mon6-Feb-13 3:38 
GeneralRe: When you aren't even sure WHY you're writing bad code Pin
CHill609-Feb-13 13:26
memberCHill609-Feb-13 13:26 
GeneralRe: When you aren't even sure WHY you're writing bad code Pin
Fred Flams6-Feb-13 21:16
memberFred Flams6-Feb-13 21:16 
GeneralRe: When you aren't even sure WHY you're writing bad code Pin
YvesDaoust6-Feb-13 22:12
memberYvesDaoust6-Feb-13 22:12 
GeneralRe: When you aren't even sure WHY you're writing bad code Pin
RafagaX7-Feb-13 5:51
memberRafagaX7-Feb-13 5:51 
GeneralA world without Ads Pin
joe_j4-Feb-13 20:03
memberjoe_j4-Feb-13 20:03 
GeneralRe: A world without Ads Pin
TheOtherCPian4-Feb-13 20:18
memberTheOtherCPian4-Feb-13 20:18 
GeneralRe: A world without Ads Pin
Shameel6-Feb-13 0:44
memberShameel6-Feb-13 0:44 

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