3 ms·
My point is precisely that, if you are creating your language from scratch, you shouldn't have to do that. Those are mistake needed because the C grammar is ful
by Drup 10y ago
My point is precisely that, if you are creating your language from scratch, you shouldn't have to do that. Those are mistake needed because the C grammar is full of cruft (and the C++ one is even worse).
It's much better, for a new language, to separate type checking from parsing completely, and to avoid any ambiguity.
- deleted 10y ago[deleted]
- PaulHoule 10y agoIn theory yes, in practice, if you want to make a serious improvement in the ergonomics of programming languages for "ordinary" folks, you have to face up to the fact that natural languages don't make an artificial distinction between different aspects of language.