5 ms·
I once noticed the thing is people balk at the line length in fortran as if it is some archaic hold off (which it is somewhat) that proves its obsolescence but
by noobermin 3y ago
I once noticed the thing is people balk at the line length in fortran as if it is some archaic hold off (which it is somewhat) that proves its obsolescence but in the next breath berate everyone for not using a formatter that will chunk lines into 100 characters in their favorite "modern" language. I guess the problem is fortran chose 80 as the line length and not 100.
- Koshkin 3y ago> as if it is some archaic hold off (which it is somewhat) Indeed it is! The standard IBM punch card had 80 columns. > and not 100 The standard IBM printer models had 120 print positions.
- pklausler 3y agoIt is 80 for "fixed form" (card image) source files. It is 132 for free form modern source, but adjustable on the compiler command line. LLVM Flang uses the line length only for emitting optional portability warnings.
- dboreham 3y ago100?? Obviously 132 is the correct line length.
- actinium226 3y agoBut mah punch cards!