Click here to Skip to main content
11,414,234 members (70,390 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.

 
GeneralRe: Nested if-else statements... Pin
Marius ten Napel, 24-Apr-13 3:36
memberMarius ten Napel24-Apr-13 3:36 
GeneralRe: Nested if-else statements... Pin
dusty_dex, 24-Apr-13 4:43
memberdusty_dex24-Apr-13 4:43 
GeneralRe: Nested if-else statements... Pin
NAANsoft, 24-Apr-13 3:44
memberNAANsoft24-Apr-13 3:44 
GeneralRe: Nested if-else statements... Pin
Lee Chetwynd, 24-Apr-13 6:07
memberLee Chetwynd24-Apr-13 6:07 
GeneralRe: Nested if-else statements... Pin
RafagaX, 24-Apr-13 6:41
memberRafagaX24-Apr-13 6:41 
GeneralRe: Nested if-else statements... Pin
tumbledDown2earth, 29-Apr-13 21:32
membertumbledDown2earth29-Apr-13 21:32 
GeneralRe: Nested if-else statements... Pin
fulloflove, 2-May-13 18:19
memberfulloflove2-May-13 18:19 
GeneralRe: Nested if-else statements... Pin
Filipe Moreira de Oliveira, 18-May-13 9:00
professionalFilipe Moreira de Oliveira18-May-13 9:00 
There're lots of ways to optimise this code (without a right/wrong flags, there are more elegant solutions) but I don't think it's thread author's intention to get a code review...

How can we code so ugly when we're fresh eh? Laugh | :laugh:

It's so funny to review our old codes.
These days I found a code of mine written in C# and using a goto, WTF? OMG | :OMG: *palmface*
Answer[Solved] Why Do Computer Counts from Zero. [modified] Pin
kburman6, 22-Apr-13 7:47
professionalkburman622-Apr-13 7:47 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
Marco Bertschi, 22-Apr-13 8:18
professionalMarco Bertschi22-Apr-13 8:18 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
ProgramFOX, 22-Apr-13 8:25
member ProgramFOX22-Apr-13 8:25 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
d@nish , 22-Apr-13 8:36
member d@nish 22-Apr-13 8:36 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
kburman6, 22-Apr-13 8:44
professionalkburman622-Apr-13 8:44 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
Marco Bertschi, 22-Apr-13 8:45
professionalMarco Bertschi22-Apr-13 8:45 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
kburman6, 22-Apr-13 8:36
professionalkburman622-Apr-13 8:36 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
Marco Bertschi, 22-Apr-13 8:46
professionalMarco Bertschi22-Apr-13 8:46 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
kburman6, 22-Apr-13 8:52
professionalkburman622-Apr-13 8:52 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
OriginalGriff, 22-Apr-13 9:43
mvpOriginalGriff22-Apr-13 9:43 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
Erik Rude, 24-Apr-13 4:55
memberErik Rude24-Apr-13 4:55 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
PIEBALDconsult, 24-Apr-13 5:08
memberPIEBALDconsult24-Apr-13 5:08 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
Clifford Nelson, 22-Apr-13 10:09
memberClifford Nelson22-Apr-13 10:09 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
PIEBALDconsult, 24-Apr-13 5:06
memberPIEBALDconsult24-Apr-13 5:06 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
Clifford Nelson, 24-Apr-13 11:14
memberClifford Nelson24-Apr-13 11:14 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
PIEBALDconsult, 24-Apr-13 12:58
memberPIEBALDconsult24-Apr-13 12:58 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
Clifford Nelson, 24-Apr-13 13:48
memberClifford Nelson24-Apr-13 13:48 

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