2. If you need this level of complexity, I feel like you should be reaching for Python or Go or something else that definitely isn't Bash
2. If you need this level of complexity, I feel like you should be reaching for Python or Go or something else that definitely isn't Bash
I also see argument 2 a lot, and I've already addressed this in other comments, but sometimes you really just need to call a couple of commands while prepping some env vars or config files for convenience.
In those cases, reaching for Python or Go ends up being a lot of boilerplate for very little advantage, especially when you want to pass control over to other applications once you're done setting things up.
No you aren't. This irritates me also. Bash is about as beautiful as perl.
> 2. If you need this level of complexity, I feel like you should be reaching for Python or Go or something else that definitely isn't Bash
This is true. Otherwise you risk [in bash] creating something very difficult to maintain for future contributors. The lengths people will go to avoid "programming" can be quite staggering.
https://ilya-sher.org/2021/03/19/running-elegant-bash-on-sim...
"Beautiful" would be in the intersection. "Modern" is popular on HN, but not so much with the ex-president.