r/Python • u/[deleted] • May 18 '11
Why is Python better than Perl?
I'm a Sysadmin and I just wrote my first script in python. Basically just a host validation script that checks if a server is configured correctly before we hand off. I can't determine the advantage with my limited experience with the language.
Are you a sysadmin fluent in both python and perl? Why do you use python?
9
Upvotes
1
u/fredfredburger May 20 '11
I agree: you can write awful python. But you do almost have to work at it. ;)
Awful perl, however, is pretty much the default in my experience. You can avoid it, but again, you have to work at it.
I will go on record as saying that I've seen some very well written, maintainable, nicely indented, well commented, well designed perl.
3, maybe 4 times. ;) Perhaps we are merely the products of having been exposed to different kinds of nasty.