Four years ago, I saw my first lines of Ruby, written by Zeljko Filipin in interactive ruby shell:
b = Watir::Browser.
What? Tester is under control of Firefox browser!?
Software testing is hard and challenging job. Ruby ecosystem is one thing that help testers in their daily job. In this post I will provide one proof of that fact. I will compare code for checking email written in Java and Ruby.
|Tribute to java.com|
|Tribute to ruby-lang.org|
Here is example of Java code (tribute to Vishvas Kumar), and here is my gist written in Ruby. Open those links in two tabs and compare them.
What do you think, which code is more maintainable?