Hacker News new | ask | show | jobs
by JustLurking2022 809 days ago
Hard pass - many languages simply don't prioritize the experience of executing shell commands.
1 comments

Tbh bash/sh don’t prioritise the experience of _writing_ commands, which might be worse. I’m decent with Bash, but to this day I don’t know how to properly document and parse flags (long and short form) and positional arguments (with validation, while we’re at it) so that it all works as I would expect.
There's no best answer. I do in manually in a `while` with `case` and `shift`. For anything more, I use environment variables or Python.