2 ms·
Would it really be worth the effort? When this level of complexity is reached, I personally think it’s better to use a more capable language, such as Python or
by cpach 1y ago
Would it really be worth the effort? When this level of complexity is reached, I personally think it’s better to use a more capable language, such as Python or Ruby.
- ninkendo 1y agoNot only that, but the strength of bash is its ubiquity. (Or for that matter, posix sh, if you want even more ubiquity.) If we started adding lots of features to bash, it wouldn’t make sense to use them unless you are positive every place using your script has a new-enough version installed. Which defeats the purpose of the main use case for bash in the first place, which is (IMO) for portable scripts that will run on any Unix-like system.
- AtlasBarfed 1y agoI may not like bash, but I sure as hell use it a lot... And I like messy langs. My favorite language is groovy.
- crabbone 1y agoNeither Python nor Ruby offer a simple interface to concurrency, serialization and terseness. Not even close. And aren't moving in the desired direction. Perl could have tried... but it's a separate can of worms, and still not quite there. PowerShell is a missed opportunity. A project with a ton of resources dedicated by a company with bottomless coffers... which ended up being sub-par. I wish there was a sensible alternative, but I haven't found one yet.