Comment

Comment by tmtvl

I think most programming languages have syntactically significant whitespace. I believe Fortran doesn't (or didn't), which helped a bug fly under the radar at NASA:

  DO 10 I=1.10
Which got interpreted as:

  DO10I = 1.10
Whereas the programmer wanted:

  DO 10 I=1,10
For a DO loop. Conversely, with SSW a language will evaluate these two expressions differently:

  inta = 10;
  int a = 10;
parent tmtvl 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton