What to Look For in a Programming Language
Occasionally, I get asked what I look for in a programming language, what makes a good language, or what I would do to improve an existing language. Mainstream programming languages (which are almost always applicative with call-by-value evaluation) vary surprisingly little in their abilities, but there are a few significant differences. Aside from all the usual, obvious aspects that don’t need to be repeated, I look for two big things:
- Powerful flow-control semantics including tail recursion and continuations. For example, scheme.
- Asynchronous API, especially with a built-in event loop. For example, node.js.
These features are even more useful when combined, yet I’ve never seen a language with both. (So, to my knowledge, sodium will be the first!)