3 ms·
It's a futile quest to find the perfect programming language. Any language that gains popularity will face a vocal demand for new features at some point. But it
by open-source-ux 7y ago
It's a futile quest to find the perfect programming language. Any language that gains popularity will face a vocal demand for new features at some point. But it's not just about adding new concepts. Programmers also want new shortcuts for existing features to save them a few keystrokes. That then entails issuing recommendations on when to use such shortcuts to keep code consistent.
There are plenty of small languages, but they lack popularity or rich libraries. The only language I can think of that remains in widespread use and is fairly small in language size is C.
I'm strongly in the camp that small languages are preferable to large ones and wish language designers would follow this principle more closely. But small does not necessarily mean more readable. And language syntax design remains a neglected aspect of programming language design.
- pjmlp 7y agoEven C is full of features if you compare C11 with K&R C, and C20 is already ongoing. And if we consider the amount of compiler specific C extensions, across all C implementations, it gets even bigger.
- jart 7y agohttp://www.lysator.liu.se/c/ANSI-C-grammar-y.html http://www.lysator.liu.se/c/ANSI-C-grammar-y.html ← 1980's C (429 lines) http://www.quut.com/c/ANSI-C-grammar-y-2011.html http://www.quut.com/c/ANSI-C-grammar-y-2011.html ← 2010's C (536 lines)
- pjmlp 7y agoWhat is that supposed to say? A language grammar is only a tiny part of what makes a programming language. Compare ISO C pages and C compiler manuals instead.