Tag ruby

Ruby vs. Python

Notes from my point of view after working with Ruby for 5 years (almost with Rails) and Python 7 months (CLI tools typically). I understand, that some people might have different view;-) Python works with some objects, but it is not object oriented language (e.g. there is no encapsulation on objects, function body can be taken out from object, etc ). py-1 Python's not [] is True (empty array is false) is strange, usage of object's internal methods (like _iteritem etc.

#python #ruby