3 ms·
bash scripts have their use cases, many things are shorter and simpler than in Python. But coders should bother to learn how bash works and use shellcheck. Just
by usr1106 3y ago
bash scripts have their use cases, many things are shorter and simpler than in Python. But coders should bother to learn how bash works and use shellcheck. Just guessing from how things work in another language typically leads to buggy code. Keeping a daemon always running is not a task for bash. systemd is typically much better at that (although something like exponential backoff in case of failure seem to be tricky)