Hacker News new | ask | show | jobs
by pdimitar 724 days 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.

1 comments

One advantage of a scripting language for scripts is that you can read it and see what it does one month later...
Sure, 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.

still more readable than disassembler output :)

sure if it's your "script" and you know exactly the code corresponding to it it might be ok, but that's a lot of overhead for a disposable script.

Are you arguing against my point or for it? :D