Comment on Which programming language is hard to understand?

<- View Parent
miversen33@lemmy.world ⁨11⁩ ⁨months⁩ ago

My main issue with PS is that it is JavaScripty. And by that I mean, it makes tons of assumptions on what I “mean” by my command. And it’s usually right and thus I don’t see any issues. But then those assumptions are wrong, I have to do all kinds of parameter fuckery to make it be what I “expect”.

None of that is true is bash. It doesn’t make many assumptions at all (at least none that I’ve come across). Things act the same when I’m using bash in a script vs the cli vs over an ash connection vs within a subshell, etc.

And ya the whole “it’s pretty verbose” is irritating too (though that could also be a counter argument against bash relying on magic variables and abusing the shit out of symbols).

I don’t hate PS but I don’t enjoy spending time in it. I don’t hate bash but it hurts me less when I use it

source
Sort:hotnewtop