Positional arguments work well, as do keyword arguments. I think it's a mistake to support both though.
In e.g. Python it's hard to control how people will call you, and you may have differing views on the API you're exposing.
Experimenting with syntax highlighting for difftastic.
I'm trying hard to stay within the limited terminal colours. It works everywhere and requires no detection of terminal capabilities or theme.
It's a very limited palette though. Using bold for keywords saves a colour.
Wilfred Hughes
Shared words: work, keyword, though, hard
Score: 62
I'm coming round to the view that a main function shouldn't take arguments.
For example, in Rust you have to call std::env::args() to get CLI arguments.
This makes Hello World less verbose, and gives you more flexibility in setting up CLI argument parsers.