One nice feature of cargo that I wasn't previously aware of: you don't need to do anything after updating your Cargo.toml.
In npm, you need to remember to `npm i` after changing package.json. It's not declarative and the state can get out of sync.
Underrated perk of JSON: it's easy to programmatically make changes to a file made by a human.
Very few other formats have this advantage. `cargo add` took a bunch more implementation work than `npm install`, because preserving TOML comments takes more work.
Wilfred Hughes
Shared words: npm, json, format, files, work
Score: 159.2
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?