Jump to ratings and reviews
Rate this book

Learning Ruby: A Hands-on Guide for Beginners

Rate this book
This book is the perfect first step for people who are interested in Ruby, particularly the growing number of the Ruby on Rails users. Fully revised and updated to cover Ruby 2.3, the second edition provides a guided, hands-on tour of the basic Ruby language structures.

Through many practical examples, you ll learn how all the pieces fit together, including variables, operators, control structures, and a wide variety of features specific to Ruby, such as exception handling and XML processing.

"

300 pages, Paperback

First published May 1, 2007

11 people are currently reading
132 people want to read

About the author

Michael J. Fitzgerald

11 books1 follower
Librarian Note: There is more than one author by this name in the Goodreads database.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
19 (18%)
4 stars
33 (32%)
3 stars
42 (40%)
2 stars
7 (6%)
1 star
2 (1%)
Displaying 1 - 10 of 10 reviews
Profile Image for Jacob.
118 reviews25 followers
November 12, 2007
At about 230 pages, Learning Ruby is a quick read, but while I appreciate brevity, this introduction to the Ruby language lacks depth and isn't likely to answer many of the questions that a newcomer to the language might have. The book probably is good enough for a programmer who doesn't really want to learn the ins and outs of the language but just needs to know enough to start hacking on a Rails project.

The core language features are covered passably well, but this could have been improved by expanding the discussion of Ruby's more interesting traits, such as the weird, sigil-filled syntax or the heavy use of blocks and closures. The section on exception handling is a mere two pages and doesn't even show how to define custom exceptions. More coverage of the standard library would have been helpful, too; I would have liked to have seen some overviews of the net/http, net/smtp, socket, and logger modules myself. Two XML modules are discussed, and in both cases the book shows how to assemble an XML document from scratch but not how to parse an existing XML document -- that's an astonishing omission. There is no real discussion of Unicode here, something that any programmer working in the 21st century needs to know. The chapter on Rails shows you how to start a new Rails project but stops short before anything interesting happens with the project. It does, however, list the URLs of several Rails screencasts and tutorials on the web, all of which are free, unlike this book.
24 reviews
January 15, 2014
Beinga a Ruby beginner myself, I cannot judge the accuracy of the topics in the book, but my impression was very good. It won't make you a Ruby developer at once, but it will prepare you for everything that you're going to meet later on.

It's pleasant to read, with just a little of humor but not so much as to feel treated like an idiot. The topics are clearly and logically organized.

Unfortunately it is getting obsolete now: 7 years in IT are a huge time. So I won't reccomend to anyone unless a newer edition comes out.
116 reviews13 followers
June 11, 2008
This book is, like many in the "Learning..." series is a very compact introduction to the language. It is primarily, it seems to me, targeting readers who are familiar with at least one other programming language and need only become accustomed to the syntax of this new language. For this audience, which fortunately includes myself, this book is a decent and very compact introduction to all the most common elements of the language.

There are plenty of examples but they seem to get less obvious and assume more of the reader as the book goes on. The most annoying element of the book is that the author seems to delight in teaching you the 5 least common and most difficult ways of doing everything before telling you the easiest and most common way of doing something. This ought to be reversed.


Profile Image for Mjoneill.
8 reviews
May 26, 2009
Currently I'm enjoying this book very much. I find the stratagem employed by the author to be really compatible with my learning method. Still, it's not exactly perfect. It seems to have a slight Mac OS X and Windows bias. It really isn't enough to derail a reader, but at some points I find myself kind of scratching my head and tinkering until I figure out how to translate the examples into something appropriate for the OS I'm working on (Ubuntu Linux).

Note: I cannot speak to the utility of this book for the programmer. I'm just a dabbler. I enjoy learning some rude fundamentals of various interpreted languages.
Profile Image for Harry Yeh.
14 reviews14 followers
December 25, 2012
A great introduction to Ruby the programming Language. I would say that you should learn Ruby before Jumping into Rails since much of the web framework makes more sense once you understand the architecture of how Ruby is.

Great introduction to the Language and Programming if you haven't done much before.
Profile Image for Vladimir Tarasov.
65 reviews7 followers
June 21, 2015
Довольно хорошая книга, чтобы начать изучение Ruby, даже несмотря на год написания. Не думаю, что после прочтения у вас получится сразу сесть и создать что-то практическое, но определенно вы поймете большинство нюансов и особенностей языка.

Надеюсь, что мое общее впечатление от книги подпорчено переводом. Он - ужасен.
Profile Image for Lewis Cawthorne.
24 reviews1 follower
October 19, 2011
More I depth material free online, and nothing in here I would ever refer back to.
Profile Image for Mina.
2 reviews
February 12, 2016
Hmm it a good book only if you know nothing about Ruby... But if you're having some Ruby experience you won't like it much!
Displaying 1 - 10 of 10 reviews

Can't find what you're looking for?

Get help and learn more about the design.