4 ms·
It's an issue of comprehensibility, not any current performance metric.
by highd 9y ago
It's an issue of comprehensibility, not any current performance metric.
- ams6110 9y agoComprehensible to who? Other python programmers? Most sysadmins do not use python routinely. They work in the shell all day every day though.
- Godel_unicode 9y agoYou're assuming that shell and Python which do the same thing are equivalently readable to a proficient user. As someone who frequently uses both, I would strongly disagree with that. I have inherited lengthy shell scripts which probably took as long to read as it would have taken to learn Python. I would argue that a well written Python script is going to be more comprehensible to the average sysadmin than an equivalent shell script, even assuming the sysadmin is more conversant in shell. More portable and testable (!!) too.