2 ms·
> If I get good enough at bash, will it get better? Bash itself will not get better because you'll be stuck writing scripts targeting some ancient version to e
by koolba 3y ago
> If I get good enough at bash, will it get better?
Bash itself will not get better because you'll be stuck writing scripts targeting some ancient version to ensure wider compatibility.
It's still a powerful skill to develop. It's a sweet spot between a one-off shell pipeline and something that involves actual logic.
Bash scripts should not be used for their logic. Think of them as a way to document a series of commands that you do not want to manually type. That can be including long argument names, generating includes or classpaths, or generating log file names based on the current time.
A good rule of thumb is if your script involves any if-statement other than parameter validation or basic on-success-of-x-do-y, it probably should be in a real language.