Click here to Skip to main content
11,415,390 members (89,639 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: for(int i=0; i<size; i++) Pin
Rosenne30-Apr-13 21:18
memberRosenne30-Apr-13 21:18 
GeneralRe: for(int i=0; i<size; i++) Pin
greldak30-Apr-13 22:47
membergreldak30-Apr-13 22:47 
GeneralRe: for(int i=0; i<size; i++) Pin
dg6yhw111-May-13 6:32
memberdg6yhw111-May-13 6:32 
GeneralRe: for(int i=0; i<size; i++) Pin
dusty_dex30-Apr-13 1:26
memberdusty_dex30-Apr-13 1:26 
Some of the earliest computer pioneers were mathematicians, and integers are usually represented by i, j and k. I guess it was just a convention academics adopted to avoid having to mentally remap a limited set of typewriter symbols.
"It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan

That's what machines are for.

Got a problem?
Sleep on it.

GeneralRe: for(int i=0; i<size; i++) Pin
PIEBALDconsult30-Apr-13 2:56
professionalPIEBALDconsult30-Apr-13 2:56 
GeneralRe: for(int i=0; i<size; i++) Pin
jsc421-May-13 0:49
memberjsc421-May-13 0:49 
GeneralRe: for(int i=0; i<size; i++) Pin
PIEBALDconsult2-May-13 3:26
professionalPIEBALDconsult2-May-13 3:26 
GeneralRe: for(int i=0; i<size; i++) Pin
OriginalGriff30-Apr-13 4:03
mvpOriginalGriff30-Apr-13 4:03 
GeneralRe: for(int i=0; i<size; i++) Pin
Brady Kelly30-Apr-13 21:54
memberBrady Kelly30-Apr-13 21:54 
GeneralRe: for(int i=0; i<size; i++) Pin
Brady Kelly30-Apr-13 22:01
memberBrady Kelly30-Apr-13 22:01 

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