This is quaint, like an article about how bad opiates are, but it's from before fentanyl.

We bash developers are in a really bad spot. If you know one of us, please check on him or her. ChatGPT has enabled our digital hoarding like never before (some of us call it a "scripts folder"-- check for files like build5.sh or *.yml for really bad cases).

I don't know how to write bash. But I'm doing for loops and if statements like never before. I justify it by saying I'm only hurting myself. I've already gone through one hard drive, writing a new index.html over and over and over to the same spot, burning it into the device like the "2" in Sonic the Hedgehog 2 on a 90s CRT.

I lost one of my best friends after I asked him why we don't just use string literals and yaml files for everything. Another when I told him to just put his CSS in a style tag. I can't stop. I can't go back. All I can do is stay away from Makefile people and hope it doesn't get even worse. Don't write shell scripts, kids.

Hahaha, lol. Where does this come from?

I've certainly accelerated my Bash game since ChatGPT came to Earth. Do you know there's a syntax for defaults?

  ${MY_BIG_VAR:-your_tiny_default}
Or that you can completely non-sensically extract the file extension with?

  file_extension="${1##*.}"
How to pronounce that? dollar open-brace 1 pound pound star dot close-brace

Reminds me of those codes on the phone system to get service functions...*69#

Not only is parameter expansion delightfully esoteric, it can replace sed for many applications. Or, as you’ve done, inverse basename.

Since it’s a shell built-in, it avoids the overhead of exec. Ever wonder why asdf is slow? Go peek at the source code. This is why. I have a draft PR that fixes it, but there are still some failing tests I need to fix.

Hmm, I only see a little bit of bash in asdf, but it's mostly wrappers that I don't expect to have much impact on performance? E.G. https://gitlab.common-lisp.net/asdf/asdf/-/blob/master/make-...

I always assumed asdf is mostly pure CL…