3 ms·
It’s more mainstream for tools like this.
by ironmagma 6y ago
It’s more mainstream for tools like this.
- rad_gruchalski 6y agoPlease explain. Have you heard of chef? That is ruby and it can be beautiful. Chef > Ansible. Chef server is meh.
- ironmagma 6y agoThe point wasn’t that Python is better than Ruby, they are about the same IMO. The point was they are both better than Bash, and Ruby actually makes it super convenient to write bash-like scripts, so there’s no excuse to not be using Ruby.
- e12e 6y agoEh.. Puppet? [ed: and chef..]
- ironmagma 6y agoPython and Ruby are both functionally equivalent in my book. The difference is prevalence; for systems tools, Python is more common because it comes installed by default with more Linux distros and in my experience anyways, is faster to respond to breaking upstream issues and build failures, which is almost certainly just due to more widespread usage. I have nothing against Ruby, it’s a pretty language and does what you need and has good metaprogramming support. Just saying for a tool you want lots of people to adopt, it’s more mainstream to choose Python.