4 ms·
C syntax? We clearly haven't read the same homepage.
by nddrylliog 17y ago
C syntax? We clearly haven't read the same homepage.
- hga 17y agoErr, vs. Lisp/s-expression syntax. Most of the post-70s children of Algol have adopted "C syntax" as I refer to it, although I'll agree this language is some distance from that, e.g. it doesn't suffer from "cancer of the semicolon". But it is strongly C/C++ influenced at the very least.
- nddrylliog 17y agoOh, I see what you mean now. Calling everything that is not S-expression a C syntax is pretty far-fetched though =)
- hga 17y agoWell, there are also: Algol syntaxes, e.g. wordy ones with begin end instead of { and }. It introduced cancer of the semi-colon and := and quite a few languages followed it, most notably Ada and Pascal and its derivatives. C is obviously an optimization of it, but it also adds its distinct features. There's the postfix Forth family including Postscript and Factor. Python's use of significant white space deserves mention. I could go back further to BASIC and its line numbers, FORTRAN IV with its column significant spacing (e.g. the statement continuation column), but you get the idea....