I'm sorry to say to for me, shell scripting has lost. All my scripts are written in Python, which a thin shell script wrapper to launch it. Look at Oil. It tries hard to be bash compatible with optional buy-in to extension. Just use a superior language and give up on shell scripts, that's my advice.
I agree. Generally I find the approach to have a few tools that work well in their specific niches to be superior to having one tool for all jobs. I use a shell for shell stuff, I use a scripting language for most other stuff, and I might use a systems level compiled language (or a scripting language that calls into a compiled library) for more performance specific needs. If you're already within a specific area and…
Exactly, that is the point of shell.
Shell scripts are meant to invoke Python or Ruby programs.
sibling comment: https://news.ycombinator.com/item?id=24875932
earlier comment: https://news.ycombinator.com/item?id=24083764