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

 
GeneralRe: for(int i=0; i<size; i++) PinPopular
LloydA11129-Apr-13 22:03
LloydA11129-Apr-13 22:03 
GeneralRe: for(int i=0; i<size; i++) Pin
Freak3029-Apr-13 22:38
Freak3029-Apr-13 22:38 
GeneralRe: for(int i=0; i<size; i++) Pin
Member 46088983-May-13 19:46
Member 46088983-May-13 19:46 
GeneralRe: for(int i=0; i<size; i++) Pin
Amarnath S29-Apr-13 23:48
professionalAmarnath S29-Apr-13 23:48 
GeneralRe: for(int i=0; i<size; i++) Pin
Rosenne30-Apr-13 20:18
Rosenne30-Apr-13 20:18 
GeneralRe: for(int i=0; i<size; i++) Pin
greldak30-Apr-13 21:47
greldak30-Apr-13 21:47 
GeneralRe: for(int i=0; i<size; i++) Pin
dg6yhw111-May-13 5:32
dg6yhw111-May-13 5:32 
GeneralRe: for(int i=0; i<size; i++) Pin
dusty_dex30-Apr-13 0:26
dusty_dex30-Apr-13 0: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 1:56
mvePIEBALDconsult30-Apr-13 1:56 
GeneralRe: for(int i=0; i<size; i++) Pin
jsc4230-Apr-13 23:49
professionaljsc4230-Apr-13 23:49 
GeneralRe: for(int i=0; i<size; i++) Pin
PIEBALDconsult2-May-13 2:26
mvePIEBALDconsult2-May-13 2:26 
GeneralRe: for(int i=0; i<size; i++) Pin
OriginalGriff30-Apr-13 3:03
mveOriginalGriff30-Apr-13 3:03 
GeneralRe: for(int i=0; i<size; i++) Pin
Brady Kelly30-Apr-13 20:54
Brady Kelly30-Apr-13 20:54 
GeneralRe: for(int i=0; i<size; i++) Pin
Brady Kelly30-Apr-13 21:01
Brady Kelly30-Apr-13 21:01 
GeneralRe: for(int i=0; i<size; i++) Pin
R. Giskard Reventlov30-Apr-13 5:24
R. Giskard Reventlov30-Apr-13 5:24 
GeneralRe: for(int i=0; i<size; i++) Pin
PIEBALDconsult30-Apr-13 15:43
mvePIEBALDconsult30-Apr-13 15:43 
GeneralRe: for(int i=0; i<size; i++) Pin
R. Giskard Reventlov1-May-13 5:09
R. Giskard Reventlov1-May-13 5:09 
GeneralRe: for(int i=0; i<size; i++) Pin
Sentenryu2-May-13 0:32
Sentenryu2-May-13 0:32 
GeneralRe: for(int i=0; i<size; i++) Pin
PIEBALDconsult2-May-13 2:28
mvePIEBALDconsult2-May-13 2:28 
GeneralRe: for(int i=0; i<size; i++) Pin
Member-99756132-May-13 3:46
professionalMember-99756132-May-13 3:46 
GeneralRe: for(int i=0; i<size; i++) Pin
R. Giskard Reventlov2-May-13 5:16
R. Giskard Reventlov2-May-13 5:16 
GeneralRe: for(int i=0; i<size; i++) Pin
OriginalGriff2-May-13 5:58
mveOriginalGriff2-May-13 5:58 
GeneralRe: for(int i=0; i<size; i++) Pin
Sentenryu2-May-13 7:07
Sentenryu2-May-13 7:07 
GeneralRe: for(int i=0; i<size; i++) Pin
AspDotNetDev30-Apr-13 8:15
protectorAspDotNetDev30-Apr-13 8:15 
GeneralRe: for(int i=0; i<size; i++) Pin
Lutosław24-May-13 0:32
Lutosław24-May-13 0:32 

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.