Click here to Skip to main content
15,883,825 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.

 
QuestionRe: IF-free codes Pin
SarK0Y29-Oct-14 9:16
SarK0Y29-Oct-14 9:16 
AnswerRe: IF-free codes Pin
Ingo31-Oct-14 1:41
Ingo31-Oct-14 1:41 
GeneralRe: IF-free codes Pin
Dave Kreskowiak5-Mar-13 3:53
mveDave Kreskowiak5-Mar-13 3:53 
GeneralSpurious use of goto... Pin
Rob Grainger7-Feb-13 1:46
Rob Grainger7-Feb-13 1:46 
GeneralRe: Spurious use of goto... Pin
joe_j7-Feb-13 23:37
joe_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
protectorMarco Bertschi16-Feb-13 5:17 
GeneralRe: 77 Pin
Sander Rossel18-Feb-13 20:48
professionalSander Rossel18-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.
C#
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
Sander Rossel19-Feb-13 7:22
professionalSander Rossel19-Feb-13 7:22 
Generalworking with Dates... Pin
joe_j6-Feb-13 3:03
joe_j6-Feb-13 3:03 
GeneralRe: working with Dates... Pin
Stefan_Lang7-Feb-13 1:40
Stefan_Lang7-Feb-13 1:40 
JokeRe: working with Dates... Pin
V.8-Feb-13 0:13
professionalV.8-Feb-13 0:13 
GeneralRe: working with Dates... Pin
joe_j8-Feb-13 0:17
joe_j8-Feb-13 0:17 
GeneralWhen you aren't even sure WHY you're writing bad code Pin
philip_cole5-Feb-13 23:26
philip_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
joe_j6-Feb-13 3:05 
GeneralRe: When you aren't even sure WHY you're writing bad code PinPopular
StM0n6-Feb-13 3:38
StM0n6-Feb-13 3:38 
GeneralRe: When you aren't even sure WHY you're writing bad code Pin
CHill609-Feb-13 13:26
mveCHill609-Feb-13 13:26 
GeneralRe: When you aren't even sure WHY you're writing bad code Pin
Fred Flams6-Feb-13 21:16
Fred Flams6-Feb-13 21:16 
GeneralRe: When you aren't even sure WHY you're writing bad code Pin
YvesDaoust6-Feb-13 22:12
YvesDaoust6-Feb-13 22:12 
GeneralRe: When you aren't even sure WHY you're writing bad code Pin
RafagaX7-Feb-13 5:51
professionalRafagaX7-Feb-13 5:51 
GeneralA world without Ads Pin
joe_j4-Feb-13 20:03
joe_j4-Feb-13 20:03 
GeneralRe: A world without Ads Pin
BotCar4-Feb-13 20:18
BotCar4-Feb-13 20:18 
GeneralRe: A world without Ads Pin
Shameel6-Feb-13 0:44
professionalShameel6-Feb-13 0:44 

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.