3 ms·
> I.e., does it have it already installed? The answer with Linux and Bash is almost always “yes”. Not so with ruby. True, not true for Ruby, but with Golang an
by pdimitar 2y ago
> I.e., does it have it already installed? The answer with Linux and Bash is almost always “yes”. Not so with ruby.
True, not true for Ruby, but with Golang and Rust you have an almost-no-dependencies final binary so the argument there does not apply.
> which grep you got, buddy?
For dev machines it's not such a tall order to require `rg` be installed these days.
- cozzyd 2y agoOne advantage of a scripting language for scripts is that you can read it and see what it does one month later...
- pdimitar 2y agoSure, especially every bash script that goes over 200-250 lines is super readable. /s Or when you have to start using all the combinations of characters to achieve f.ex. proper iteration through an array without word splitting. Etc. to infinity. I've danced this dance hundreds of times and got sick of it. Gradually moving away from scripts and to Golang programs and so far it has been an improvement in almost every way, I'd say easily in 90% of the cases.