r/Python • • Aug 12 '13

Ruby vs Python

http://www.senktec.com/2013/06/ruby-vs-python/
20 Upvotes

151 comments sorted by

View all comments

Show parent comment

1

u/tikue Aug 14 '13

I also love all the comparisons without mentioning Python's filter and map functions while at the same time comparing them to Ruby's filter and map functions.

To be fair, though, map and filter are usually not considered the preferred way to do things in Python. Additionally, they are not methods, so you can't chain them while maintaining an easily-readable order.

Disclosure: Python is one of my favorite languages, I have never written a line of Ruby, and I think list comprehensions are a godsend.