Comment by Vampiero
2 months ago
It's not naive, it's how languages work.
That grammar doesn't necessarily convey 100% of semantics is a problem of natural language. Or rather, of people being poor at communicating unambiguously.
Programming languages can also be ambiguous sometimes, but that ambiguity is resolved before execution by essentially following a priority list or throwing an error if no combination of rules fits.
No comments yet
Contribute on Hacker News ↗