3 ms·
Designed: industrial programs might be compiled once and run multiple times. Student programs, on the other hand, will likely be run fewer times than they are e
by 082349872349872 4y ago
Designed: industrial programs might be compiled once and run multiple times. Student programs, on the other hand, will likely be run fewer times than they are ever (attempted to be) compiled.
Pascal's original use was the latter case.
- Someone 4y agoI don’t think that’s completely true. Pascal was also designed as a general purpose language to compete with Algol and Fortran. See for example Wirth’s https://www.research-collection.ethz.ch/bitstream/handle/20.500.11850/68712/eth-3290-01.pdf https://www.research-collection.ethz.ch/bitstream/handle/20....: “Compared to Algol 60, its range of applicability is considerably increased due to a variety of data structuring facilities. In view of its intended usage both as a convenient basis to teach programming and as an efficient tool to write large programs…”
- AnimalMuppet 4y agoMy first reaction was that Pascal's extremely spartan I/O capabilities made that a pipe dream. But then I remembered what Fortran's I/O was like...
- Someone 4y agoYes, the competition wasn’t very strong. You may think Fortran’s I/O was bad, but at least it had I/O, unlike Algol 60 (the standard didn’t define I/O, so every compiler invented its own way of doing I/O)