> If you aren't good with shell scripts, why bother? Go use Python or something else entirely
I agree! And given that essentially nobody is "good with shell scripts" we can simplify that advice to "don't write shell scripts".
> If you aren't good with shell scripts, why bother? Go use Python or something else entirely
I agree! And given that essentially nobody is "good with shell scripts" we can simplify that advice to "don't write shell scripts".
That's some kind of logic right there. If people don't read the manual, they have every right to expect that things will break. It's not surprising or shocking, it's just user error.
> we can simplify that advice to "don't write shell scripts".
No, we cannot simplify it like that. Shell scripts are a brilliant tool for a certain kind of problem, and they work well when used for that class of problem. When used for anything else, they work poorly. Same applies for literally any other tool. It's like saying "essentially nobody is good with a CNC machine so don't use it"
This is just fundamentally and absolutely wrong. Completely incorrect.
I could explain it, but others have done better:
https://en.wikipedia.org/wiki/Principle_of_least_astonishmen...
https://notes.rmhogervorst.nl/post/2022/11/21/what-is-a-foot...
https://fstoppers.com/opinion/stop-telling-people-read-manua...
I also recommend the book "The design of everyday things" which isn't about software but the lessons in it are highly applicable.
Good luck learning!