3 ms·
I love the premise (seems suitable for non-embedded domains that currently use C!) but I can't get over the Forth-like / postfix syntax.
by loeg 8y ago
I love the premise (seems suitable for non-embedded domains that currently use C!) but I can't get over the Forth-like / postfix syntax.
- njepa 8y agoPersonally I don't mind unusual syntax. I do find it a bit problematic that programming languages seem to select syntax almost at random, or at least they don't tend to spend a lot of time explaining it [0]. A lot of special characters can quickly become less pleasant with a non-English keyboard however. Especially if the syntax is hard to predict (with for example autocomplete). [0] https://www.adacore.com/uploads_gems/Ada_Safe_and_Secure_Booklet.pdf https://www.adacore.com/uploads_gems/Ada_Safe_and_Secure_Boo...
- gmfawcett 8y agoIt seems strange to call out Ada for "unexplained" and "unusual" syntax. The syntax is very similar to the syntax of Pascal, which was an enormously popular language at the time when Ada was designed.
- njepa 8y agoI meant that Ada does explain its syntax (at least partly in that pdf), but many languages don’t seem to. And when they do I can more easily accept whatever it is. It is when the syntax seems random I can’t wrap my head around it.
- gmfawcett 8y agoAh, OK. It looked like you were citing Ada as an example of the problem, not of the solution.
- loeg 8y agoI don't mind unusual syntax as long as it looks like C, so to speak. (C is weird, but I'm used to it, and context switching is easier the more similar a syntax is to C.)