2 ms·
This is amazing to me and I would never have suspected such a thing. Reminds me of Fortran. https://arstechnica.com/civis/viewtopic.php?t=862715 https://arste
by emmelaich 6y ago
This is amazing to me and I would never have suspected such a thing.
Reminds me of Fortran.
https://arstechnica.com/civis/viewtopic.php?t=862715 https://arstechnica.com/civis/viewtopic.php?t=862715
- PhantomGremlin 6y agoYeah, FORTRAN made some bad choices. In its defense, it first appeared in 1957. There wasn't much language design or compiler writing knowledge back in those days. When we were in college learning FORTRAN, students would ask for help from the teaching assistants at the computer center. One big problem was FORTRAN allowed horrible spaghetti code because GOTO statements could be used anywhere. It was easy to jump into and out from loops. The TAs had a tough job. It didn't help when people would deliberately mess with the TAs by asking about code with language features similar to those in the article you linked. Something like IIRC after 47 years: DO 15 I = (1, 100) purported loop stuff goes here 15 final statement of loop That is also not a loop control statement. Instead it is an assignment to a complex number.