3 ms·
Python syntax is more similar to Pascal than to e.g. Java or JS. "Modula-3 is the origin of the syntax and semantics used for exceptions, and some other Python
by Rochus 5y ago
Python syntax is more similar to Pascal than to e.g. Java or JS.
"Modula-3 is the origin of the syntax and semantics used for exceptions, and some other Python features."
(from https://docs.python.org/3/faq/general.html#why-was-python-created-in-the-first-place https://docs.python.org/3/faq/general.html#why-was-python-cr...). Also the predecessor languages ABC and SETL were in the Algol tradition.
> Python is 100000x more popular than Pascal
It's about factor 8 on https://www.tiobe.com/tiobe-index/ https://www.tiobe.com/tiobe-index/ or factor 3 (in score) on https://spectrum.ieee.org/static/interactive-the-top-programming-languages-2020 https://spectrum.ieee.org/static/interactive-the-top-program..., whatever you prefer as a reference. Delphi (which is Object Pascal) is still a widely used language.
- oblio 5y agoI generally go by job listings. It's trivial to find Python jobs, Pascal/Delphi jobs are very rare.
- Rochus 5y agoMaybe you can post a link to a job site where there are 100000x more Python than Pascal/Delphi/Ada jobs. Btw. you can filter the IEEE ranking by jobs which seems to correspond well with what I see on monster or indeed. Anyway, the discussion was about whether the Lua or Pascal style syntax is unfamiliar or not.