3 ms·
If you are doing anything with complex behavior that requires error checking, interpolating strings with possibly invalid values, or just writing a lot of code,
by marcosdumay 10y ago
If you are doing anything with complex behavior that requires error checking, interpolating strings with possibly invalid values, or just writing a lot of code, then Python is already more convenient and if you didn't notice it is because you are hiding a lot of Bash problems under a carpet.
- jstimpfle 10y agoThat's my point. It's not easy and often impossible to write robust shell scripts. Part of it is the problem domain. Rewriting any slightly complex bash script in e.g. Python with robust error handling can be quite challenging. You have to make a number of very difficult decisions.