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

 
JokeRe: for(int i=0; i<size; i++) Pin
YDaoust30-Apr-13 23:23
YDaoust30-Apr-13 23:23 
GeneralRe: for(int i=0; i<size; i++) Pin
Rob Grainger1-May-13 3:17
Rob Grainger1-May-13 3:17 
GeneralRe: for(int i=0; i<size; i++) Pin
gholamali Hosseini30-Apr-13 23:14
gholamali Hosseini30-Apr-13 23:14 
JokeRe: for(int i=0; i<size; i++) Pin
YDaoust30-Apr-13 23:27
YDaoust30-Apr-13 23:27 
GeneralRe: for(int i=0; i<size; i++) Pin
gholamali Hosseini30-Apr-13 23:49
gholamali Hosseini30-Apr-13 23:49 
JokeRe: for(int i=0; i<size; i++) Pin
YDaoust1-May-13 0:07
YDaoust1-May-13 0:07 
GeneralRe: for(int i=0; i<size; i++) Pin
gholamali Hosseini1-May-13 0:39
gholamali Hosseini1-May-13 0:39 
GeneralRe: for(int i=0; i<size; i++) Pin
WPerkins1-May-13 2:42
WPerkins1-May-13 2:42 
I think you are right. If not otherwise defined FORTRAN would default to integer variables whose names started with "I" through "l" (ell) I believe. Not too sure about the ending letter as all *good* programmers defined their variables.

After years of programming I still use "t" for temporary variables (like creating a value for the debugger to see) and "t.t" for file names for the same sort of thing - temporary names while developing. This comes from the old TRS80 system.

Old habits die hard, eh?
GeneralRe: for(int i=0; i<size; i++) Pin
tumbledDown2earth1-May-13 3:17
tumbledDown2earth1-May-13 3:17 
GeneralRe: for(int i=0; i<size; i++) Pin
H.Brydon1-May-13 5:55
professionalH.Brydon1-May-13 5:55 
GeneralRe: for(int i=0; i<size; i++) Pin
WPerkins1-May-13 7:47
WPerkins1-May-13 7:47 
GeneralRe: for(int i=0; i<size; i++) Pin
fredrick721-May-13 2:56
fredrick721-May-13 2:56 
GeneralRe: for(int i=0; i<size; i++) Pin
mc421-May-13 3:13
mc421-May-13 3:13 
GeneralRe: for(int i=0; i<size; i++) Pin
Rob Grainger1-May-13 3:20
Rob Grainger1-May-13 3:20 
GeneralRe: for(int i=0; i<size; i++) Pin
mc4222-Oct-14 10:46
mc4222-Oct-14 10:46 
GeneralRe: for(int i=0; i<size; i++) Pin
Rob Grainger22-Oct-14 22:12
Rob Grainger22-Oct-14 22:12 
GeneralRe: for(int i=0; i<size; i++) Pin
Michael A. Cochran1-May-13 3:43
Michael A. Cochran1-May-13 3:43 
GeneralRe: for(int i=0; i<size; i++) Pin
Cj Welborn1-May-13 4:58
Cj Welborn1-May-13 4:58 
GeneralRe: for(int i=0; i<size; i++) Pin
Antonino Porcino1-May-13 5:03
Antonino Porcino1-May-13 5:03 
GeneralRe: for(int i=0; i<size; i++) Pin
RafagaX1-May-13 6:38
professionalRafagaX1-May-13 6:38 
GeneralRe: for(int i=0; i<size; i++) Pin
Carlosian2-May-13 4:36
Carlosian2-May-13 4:36 
GeneralRe: for(int i=0; i<size; i++) Pin
Don Bruck3-May-13 6:15
Don Bruck3-May-13 6:15 
GeneralRe: for(int i=0; i<size; i++) Pin
robocodeboy5-May-13 23:27
robocodeboy5-May-13 23:27 
GeneralRe: for(int i=0; i<size; i++) Pin
Nicolas Dorier4-May-13 21:37
professionalNicolas Dorier4-May-13 21:37 
GeneralRe: for(int i=0; i<size; i++) Pin
peterchen6-May-13 2:58
peterchen6-May-13 2:58 

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.