2 ms·
Ruby is better than Python for Unix-like system administration
- consuelolisb1 3y ago[dead]
- ashconnor 3y agoLooks like a general language comparison. The article isn't really geared towards system administration. I'd have preferred to see a standard lib comparison specifically directed at system administration. That said I do prefer working with regular expressions in Ruby It feels very clunky in Python, probably for historical reasons.
- superkuh 3y agoMost things are better than python for system administration. For that you want a stable language that stays the same across time and OSes. There really isn't a single Python anymore: just pythons. Typical instructions to run anything python mean setting up a dependency manager manager container and then within a dependency manager to set up the custom python install for that specific application. This is standard practice because getting python applications to work with system python is dependency hell. Python is so popular and widely used it changes very fast. Even if those changes are improvements they break things.
- bravetraveler 3y agoShow me Ansible written in Ruby. I don't even write scripts anymore. I write pseudocode in yaml. The module library saves rewriting something I've done a thousand times before
- HackerThemAll 3y agoPerl is better than them both, and can easily imitate many more (sed, awk, grep, head, tail, sort, cat to name a few).