> As an VSCode extension author, I am always terrified by the amount of power I have.
Meanwhile random FOSS projects be like "please sudo curl bash to install the prebuilt binaries".
How did that even get started? It’s not like downloading a zip or tar file is so terribly taxing.
This is one of my pet peeves! No one should normalize the idea of piping curl output to bash.
I agree. Sadly most of us aren't going to build from source, and some tools don't really work without sudo. (Did I mention VSCode? On Linux you get a .deb file. Yeah.)
[dead]
Most don't even use functions when writing those scripts and it can straight up fuck your system on accident. It's very unlikely but it can happen and a malicious actor can trigger it on purpose.
But this is true about lots of code. We have this notion of "it works, therefore there's no problem" which is just bad engineering. Just because you don't know there's a problem doesn't mean there isn't. Just because it passes the tests doesn't mean you have test coverage.