Ruby vs Python

Here is my take about the two languages. I’m adding notes while studying the

Pro Python

Code indenting - makes it very tidy and readable.

I like tuples, especially being able to run operations on them:

(1, 2, 3) > (1, 2, 2)

Anti Python

The colons after many constructs

Pro Ruby

Blocks.

Open classes.

Optional parenthesis to enclose method calls parameters.

Anti Ruby

Hipster community.