12,999,081 members (48,836 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, 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.

 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 It's also from FORTRAN for me, but we used just "i" rather than "index" partly because it saved time and space. We didn't have IDE's in those days, but punched cards (or paper tape) and is was a lot quicker to type a single character variable name on a punched card than a longer one. Saved waste as well if you mistyped "index" as "inedx" you had to chuck the card and type a new one. With paper tape each character occupied 1/10th inch of tape, so "index" used 5 times the paper each time you typed it. With a long subroutine, that could get significant and make the roll a lot bigger (and heavier) and harder to roll back up again when it spooled off the end of the reader... We only had 6 character variable names anyway... The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Re: for(int i=0; i
 Last Visit: 31-Dec-99 18:00     Last Update: 23-Jun-17 23:17 Refresh « Prev1...173174175176177178179180181182 Next »