4 ms·
Ada is a Pascal dialect? How do you figure? (If you mean "somewhat in the Pascal flavor", I might be able to see it...) A more C-like syntax, with a more Pas
by AnimalMuppet 9y ago
Ada is a Pascal dialect? How do you figure? (If you mean "somewhat in the Pascal flavor", I might be able to see it...)
A more C-like syntax, with a more Pascal-like semantics, might actually be a reasonable sweet spot. (I think the C syntax won for a reason. It's terser, without being so terse it's unreadable, and therefore gives you higher bandwidth. Most peoples' complaints about C are the semantics, not the syntax - though I'm sure at least some people dislike that too...)
- deleted 9y ago[deleted]
- lobster_johnson 9y agoWhile Ada is not formally a Pascal dialect, it arguably has more influence from Pascal than from the earlier ALGOL (which also influenced Pascal; it has keywords like PROCEDURE, BEGIN and END) and Simula. A Pascal-family developer can more easily pick up Ada than, say, a C programmer; the Pascal family already has TYPE, VAR, ranges, records, etc. From the 1983 Ada reference manual [1]: Another significant simplification of the design work resulted from earlier experience acquired by several successful Pascal derivatives developed with similar goals. These are the languages Euclid, Lis, Mesa, Modula, and Sue. Many of the key ideas and syntactic forms developed in these languages have counterparts in Ada. Several existing languages such as Algol 68 and Simula, and also recent research languages such as Alphard and Clu, influenced this language in several respects, although to a lesser degree than did the Pascal family. Ada was widely considered as being an evolution of Pascal at the time (e.g. [2]). [1] http://archive.adaic.com/standards/83lrm/html/lrm-01-03.html http://archive.adaic.com/standards/83lrm/html/lrm-01-03.html [2] https://academic.oup.com/comjnl/article-pdf/25/2/248/1080494/250248.pdf https://academic.oup.com/comjnl/article-pdf/25/2/248/1080494...
- kevin_thibedeau 9y agoIt's Wirthian with sane precedence for the and/or operators.