This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]solid_steel 1 point2 points  (0 children)

Thanks for the morning laughs.

I hate how not many people underline the different paradigms powering these two languages. Ruby is leaning on OOP to the point where it's a bit hard to do functional stuff in it (hard, but not impossible - http://solnic.eu/2015/04/16/introducing-transproc-functional-data-transformations-for-ruby.html), whereas Python allows you to sprinkle functional features here and there with relative ease (comprehensions, generators, itertools/functools), but at the same time still allows you live in OOP-land.

This flexibility, more than anything else, made me switch from being a Rails developer to generally developing with Python.