I remember a lot of things, since I've been coding since about 1979 or so. That's a long time, and I had numerous different "computers" like the TI-99/4A (anyone remember those?) and at one time an Atari 800 I believe. Back then the Commodore was the big deal for most people, but I just couldn't afford one! My buddy had one, but even though I was smarter than he was, he never let me touch it. I guess he didn't want the humiliation.. he he. My first "real" computer was in 1991, a 30386/DX running at 40 BIG mhz. I never owned a printer until about 15 years ago or so, so I really only worried about being able to read the code on the screen.
Well lets see id these old brain cells still work. A Hollerith card had 80 columns and an 029 control card was used to set up fields for data entry. The operator would read the control card through the keypunch and it would set the keypunch into numeric or alpha mode for the operator and also allow the operator to skip empty columns. Printers?...we lived and died by the printed word (program listings and memory dumps). Many a night I stood kicking the front panel on a 1911 printer as it printed out a memory dump because my program blew up. Ahhh the good old days...may they never come again. Like tom I was a programmer when programming wasn't even cool. Damn I feel old!
Larry - You must be older than dirt, too! My first computer was a MITS Altair put together as a kit! Long live 8008's. Then had a friend get the SWTP computer (SouthWest Technical Products) as a real kit - transistors, IC's, resistors, capacitors, switches - everything had to be soldered to PC boards and the wired together. It actually worked the first time! I started my programming career in 1976 using a hammer, chisel and stone slabs!
Of course, card sorters were the "computers" on all the TV shows back then.
Been there, done that. Been in this for 34 years and only started at 33.
I also dont know why people need fancy's like smileys to express themselves. Doesnt this work anymore
To answer the question. Any method, function or whatever should fit in 80 columns and not be longer than a A4 sheet of paper can hold. Anything wider or longer becomes difficult to read as a unit. Use macros for long expressions that repeat themselves.
Readability, to me, is the main issue. It is rare that I print out code any more. By breaking up long lines and indenting the continuation lines, the code becomes easier to read and understand: that means, in my book, easier to debug.
I used to limit the length to 80 charactes so I could print the code. I haven't printed a single line of code in several years, and now I am a little more relaxed about that rule. I still try to keep most lines under 90, but 2 or 3 extra chars won't do any harm.