3 ms·
> I'd prefer to write complex scripts in python, but for simple scripts, I find a mix of bash and perl to be useful. Unfortunately, simple scripts that are fou
by microtherion 6y ago
> I'd prefer to write complex scripts in python, but for simple scripts, I find a mix of bash and perl to be useful.
Unfortunately, simple scripts that are found to be useful often grow into complex scripts.
A few weeks ago, I wanted to write some functionality that seemed "simple" enough to be a good fit for make+bash. A week later, I ended up tossing the whole thing and rewriting it in python.
- soraminazuki 6y agoNot all scripts needs to be complex, though. There would always be demand for quick and easy scripting languages fit for handling simple cases. Yes, some scripts are bound to grow complex, but that doesn't really justify writing every single script in Python. It's just better to make the switch once the benefits exceed the costs.
- microtherion 6y agoIn principle, I agree, but in practice, I often find that it's common to make the switch too late, so I'm leaning towards making the switch early.