4 ms·
Bash and shellcheck mitigate the issues but Powershell (and some newer shells like Elvish and Oil) actually solve the issues by introducing proper objects and b
by lukeschlather 6y ago
Bash and shellcheck mitigate the issues but Powershell (and some newer shells like Elvish and Oil) actually solve the issues by introducing proper objects and breaking the defaults bash expects.
Bash suffers from a similar problem to Perl and other 20+ year old "get it done" languages that they need a strict-mode bolted on, and a bolted-on strict mode is strictly inferior to just having the language behave sensibly to begin with.
- zimbatm 6y ago100% agreed, if you can choose your own language, there are certainly better options than Bash. It depends if you can do that or not. In some contexts, Python is also a pretty good option as it is available in a lot of places as well.