Not denying Ruby is good, but other than process forking, why should I prefer it to Python?
Personally, I find Ruby's syntax more natural, (I'm going to be heavily biased though, having written Ruby for 10+ years). But for example, let's say I wanted to make a hash (dict) of files, keyed by their size (for some unknown reason), in Ruby it would look like: Pathname.glob('*').filter { |f| f.file? }.each_with_object({}) { |f, h| h[f.size] = f } Whereas the equivalent Python would be: result = {} for file_path…
' '.join(map(str.capitalize, string.split(' ')))
which is similar to the example in Ruby, except the operations are written in reverse order.