TIL you should use "use strict"; in node programs too. Caught me by surprise!
miniblog.
Related Posts
I've added syntax highlighting to the prompt of my programming language!
It's not strictly necessary, but it's nice to have. It caught a bug with lexing incomplete string literals too.
zsh is generally wonderful, and it's sufficiently like bash/POSIX sh that it works.
However, it uses 1-indexed arrays, whereas bash uses 0-indexed arrays. This totally caught me out.
The ability to define small commands for npm with package.json is incredibly convenient and powerful.
I wonder why this hasn't caught on for other languages?