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.
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.
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.
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.
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.
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.
Довольно хорошая книга, чтобы начать изучение Ruby, даже несмотря на год написания. Не думаю, что после прочтения у вас получится сразу сесть и создать что-то практическое, но определенно вы поймете большинство нюансов и особенностей языка.
Надеюсь, что мое общее впечатление от книги подпорчено переводом. Он - ужасен.