80 seems to be the default in many different environments and I\'m looking for a technical or historical reason. It is common knowledge that lines of code shouldn\'t exceed 80 c
Your computer probably doesn't have a punch card reader, but it probably does have lpr(1)
which follows the convention set by IBM for punch cards. The lpr(1)
command defaults to Courier font with margins set for 80-columns and 8-space tabs for plain text files on 8.5"x11" paper. Try cat foo.c | lpr
and if the author of foo.c
used conventional line width and source code formatting rules, then the printed page will look mostly readable. Otherwise, best not to kill the trees.