Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Fortran has grown a lot over time. If somebody said it don’t have a do loop in 196X, I wouldn’t be too surprised.

Really it’s just syntactic sugar, just use a goto.



FORTRAN IV, at least the version I used on the PDP-11 running RSX, did not have a DO-loop. Just IF and GO TO. But it did have both logical and arithmetic IF.


I don’t believe this.


The entire point of Fortran was being an effective optimizing compiler for DO loops.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: