3 ms·
The term of art is whitespace insensitive, meaning that whitespace is only necessary when needed to separate tokens, and any amount will do when it's allowed. W
by samatman 3y ago
The term of art is whitespace insensitive, meaning that whitespace is only necessary when needed to separate tokens, and any amount will do when it's allowed. While it may be possible to write a language in which whitespace may be inserted or left out literally anywhere, I'm unaware of any actual languages where this is true.
- tmtvl 3y agoIn Fortran the following two lines are the same: DO 10 I=1.10 DO10I = 1.10
- samatman 3y agoFortran comes closer than any other language, true. But there's a mandatory six columns of whitespace at the start of every line, so not quite! But the fact that PRO GRAM and such constructs are legal is... special.
- pklausler 3y agoYou are 34 years out of date.
- 12_throw_away 3y agoI feel like the name "Fortran 90" was a missed opportunity, since it got rid of all the old punchcard stuff that people associate with "Fortran".