I've heard of gamers who compete to see who can beat a game with the fewest keypresses.
We should do the same for hello world in programming languages! For example, Rust does well here with 20 keystrokes:
$ cargo init;cargo run
cargo-xtask is exploring a `npm-run` style workflow for Rust projects: https://github.com/matklad/cargo-xtask
This is a lovely accordance in npm that I'd love to see in more languages.
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.
Wilfred Hughes
Shared words: Rust, hello, world, example
Score: 112.8