REVIEW - Making Use of Ruby


Title:

Making Use of Ruby

Author:

Suresh Mahadevan

Publisher:

John Wiley & Sons (2003)

Pages:

240pp

Reviewer:

Giles Moran

Reviewed:

December 2003

Rating:

★★☆☆☆


This is a gentle introduction to the Ruby scripting language. For those who haven't heard about Ruby, it's an object oriented scripting language developed by Yukihiro Matsumoto of Japan in the mid nineties. Ruby is very popular in Japan, but there's not a lot on the web about it when compared to say, Python. The elegance and clarity of the syntax is much vaunted but it still has its share of odd syntax. More information can be found at

www.ruby-lang.org
or
www.rubycentral.com
.

The book is very short, standing at 216 pages (including index and appendix) and employs a very large font, which reduces the amount of information on each page. There are enough typos to make reading hazardous (the regular expression section suffers especially) and indentation of code examples is inconsistent at best. The book has an ongoing theme of implementing a web package for a hypothetical book company augmenting chapters on classes, io, etc. The trouble is that half of the chapter is taken with this single example case and there's not enough detail on the syntax given.

Once you've read this book, if you like the look of Ruby, you will need a reference straight away. There's not enough information in the book to make it remotely usable. The book also dwells on the simple stuff like loops and if statements for too long, while skipping a lot of the more demanding/interesting detail in later chapters.

You can do some fairly interesting stuff with Ruby. Access to threads seems straightforward. You can build GUIs using Tk.

You can also embed Ruby into HTML using eRuby. I'm sure there's a lot more, but I need a better book to enlighten me.


Book cover image courtesy of Open Library.





Your Privacy

By clicking "Accept Non-Essential Cookies" you agree ACCU can store non-essential cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

Current Setting: Non-Essential Cookies REJECTED


By clicking "Include Third Party Content" you agree ACCU can forward your IP address to third-party sites (such as YouTube) to enhance the information presented on this site, and that third-party sites may store cookies on your device.

Current Setting: Third Party Content EXCLUDED



Settings can be changed at any time from the Cookie Policy page.