Zhimin Zhan
1 min readSep 2, 2023

--

It is true Ruby and Python are similar. Python was largely used in academic world, and almost forgotten after the emergency of Java. Pyhon revived due to AI/machine learning, as it has good math libraries (from academic).

Ruby is designed as a general purpose language, it is more object-oriented than Java.

I prefer comparing about a language with context. In test automation, Ruby is better than Python.

1. Python's indentation rule is bad

At one point, I actually quite liked it as a programmer, but with testing, it is bad, very bad.

2. Ruby has high quality libraries (gems)

In my opinion, people like X language, but Ruby programmers love Ruby. The fact, creator of Watir and Ruby on Rails, both include Ruby in their framework names.

3. Ruby is more initiative

This is important when maintaining a large test suite (with high pressure). Before I started coding in Ruby, I have used Java for 8 years, was consider a good Java programmer. Only a few weeks using Ruby (for testing), at work (using Java), I found myself thinking in. Ruby first, then convert to Java way.

--

--

Zhimin Zhan
Zhimin Zhan

Written by Zhimin Zhan

Test automation & CT coach, author, speaker and award-winning software developer. Help teams succeed with Agile/DevOps by implementing real Continuous Testing.

No responses yet