Not long ago I bought Seven Languages in Seven Weeks from the Pragmatic Bookshelf (electronic, of course ;-) with the sole aim of learning new languages I can then exploit to produce code in myriad forms and shapes. I asked in Twitter for recommendations of books that a geeky developer like me should read and this book was on top pf the list. So, it was time to use my credit card and receive my purchase immediately, the benefit of ebooks.
I was convinced at the first glance that this book can give me insight into different languages and provide me with the crucial information what are the strengths of a certain language, what is the language strong at. I discussed this book with my colleagues and generated more income to Pragmatic as they went and bought the book. Wonderful to see people getting enthusiastic.
Anyway, the book starts with Ruby which is why I am writing this. I am planning to write a series of blog posts depicting my journey through this book and its languages.
As a JAPH I loved the concise way you program with Ruby. The syntactic sugars, the arrays and hashes. Mixin’s are an absolutely fabulous concept and the fact the Ruby is purely OO language just adds to the positive side. Duck typing can cause some very nasty defects when it goes awry but with RSpecs and/or TDD approach these pitfalls are easily avoidable.
The first contact with Ruby was very pleasant, I felt immediately at home. The friendship has just begun but I am sure that I will not forget Ruby soon. It has so many bright sides to look at.
Stay tuned. I will continue this series. These blog posts will cover my journey through the land of learning.