I would not say it is trash, but I tend to agree with the general sentiment and personally don't write longer scripts.
> This is also the advice given in the google shell guide.
This advice is also given in this handbook :) But in reality you might come to a work repo that already has such scripts and it is good to understand it a little bit, I would think.
"I might come to work on..."
Friend, you have no idea LOL
My hatred is well earned!