3 ms·
It is an interesting list, worth reading, but in the end I did not find anything compelling. Most of the wishlist of features are concerned with syntactic suga
by drallison 16y ago
It is an interesting list, worth reading, but in the end I did not find anything compelling. Most of the wishlist of features are concerned with syntactic sugar that would clutter up the language, not with anything that makes the language a better way to express programs/algorithms. It would be nice to see use cases and some arguments about why adding a feature will make some significant change in the quality of programs coded in the augmented C rather than standard ASCII C.
C has its share of design flaws, but it is relatively clean and elegant language. Much of it's power and efficiency comes from its simplicity.
Programming language design easily gets lost in special case syntax and enumeration of syntax for special cases rather than adding new composable syntactic elements. Modifying or extending an existing language is very difficult because it requires a deep understanding of the rules and concepts used in the original language and its implementations. Some of the rule and concepts are documented, but others are part of the folk knowledge shared by implementors and users. As a case in point, consider the transition from C to ASCII C.
The range of languages that a programming language designer would find helpful to understand in detail is very large. My personal list of favorites includes FORTRAN, COBOL, PL/I, C, C++, Python, Perl, Lua, Lisp, Scheme, Clojure, Prolog, Erlang, Haskel, ML, BASIC, Algol, BCPL, Bliss, Smalltalk, SQL, Snobol, BASH, and, of course, a handful of assemblers and macro-processors. It also helps to have a good understanding of machine architectures and the theories of machine independent (and dependent) optimization. Programming language design for general purpose use is one of the most difficult of human intellectual tasks.
Suggested reading: Elements of Programming, by Alexander Stepanov and Paul McJones, published by Addison-Wesley Professional in June, 2009.