3 ms·
As a linux admin, bash and python are my bread and butter. I have two heuristics for choosing between them: - If it needs more math than counting, choose Python
by _xiaz 2y ago
As a linux admin, bash and python are my bread and butter.
I have two heuristics for choosing between them:
- If it needs more math than counting, choose Python
- If it's >200 lines (500 if I'm brave), choose Python
Otherwise, shell scripting is nice
- rcxdude 2y agomy heuristic is "if there's an if statement, loop, or variable substitution with uncontrolled input, use python".