The Well-Grounded Rubyist (Ruby)Год выпуска
: David A. BlackЦена
: eBook (изначально компьютерное)Количество страниц
: Interest in Ruby has exploded. Developers discovering this elegant, dynamic language quickly learn that Ruby is a powerful alternative to traditional static languages like Java or C++. It runs in most operating environments and can handle virtually any programming task you throw at it. Ruby code is clean and elegant. Best of all, Ruby is dynamic, which means that it's designed to react at runtime to changes in an application's environment or requirements.
The Well-Grounded Rubyist takes you from interested novice to proficient practitioner. It's a beautifully written tutorial that begins with the basic steps to get your first Ruby program up and running and goes on to explore sophisticated topics like callable objects, reflection, and threading The book concentrates on the language, preparing you for any way you may choose to use Ruby. Whether the topic is simple or tough, the book's easy-to-follow examples and explanations give you immediate confidence as you build your Ruby programming skills.
The Well-Grounded Rubyist is a thoroughly revised and updated edition of the best-selling Ruby for Rails. In this new book, expert author David A. Black moves beyond Rails and presents a broader view of Ruby. It covers Ruby 1.9, and keeps the same sharp focus and clear writing that made Ruby for Rails stand out.
It's no wonder one reader commented: "The technical depth is just right to not distract beginners, yet detailed enough for more advanced readers."
Crystal clear examples and explanations of core Ruby topics
Starts at the very beginning and guides you to confident proficiency
Updated for Ruby 1.9
Prepares you to use Ruby anywhere—not just with Rails
Summary: review by Eric Grimois
"The Well-grounded Rubyist" belongs to these still too rare books which deal exclusively and in-depth with Ruby, by leaving Rails, its killer app, on side. David A. Black proposes to give us a strong foundation for the comprehension of the Ruby's mechanisms. On this purpose, he adopts a didactic and original step, by presenting the concepts according to a progressive and well balanced difficulty, not following the "traditional" progression found in other books treating of computer programming languages. Thus, for example, the method lookup strategy is described in chapter 4, even before looking in detail at the test and loop instructions in chapter 6. This order, which can seem curious at first sight, appears finally perfectly logical and natural. This progressive and cumulative approach will however impose to the reader a linear reading of the book to withdraw all the benefit from it.
Focusing himself on the fundamental mechanisms of Ruby, the author only partially cover its built-in classes and modules library, in the second part of the book. After a long description of essential (predefined classes, conversion methods, enumerators etc) he devotes two whole chapters to the extensive Ruby's possibilities about I/O operations and regular expressions.
The three final chapters, which compose the third and last part of the book, treat dynamic aspects of Ruby. What would appear to be the most complex topic of the book is in fact surprisingly easy to assimilate, and one realizes that the efforts of the author to gradually lead us to a sufficient knowledge of Ruby in order to tackle without pain the most difficult subjects, bore its fruits.
This book is intended more particularly for those who discover Ruby, but will be also advantageous to more advanced Ruby developers. Thus, the talent of the author enabled me to completely understand certain of mechanisms I used without mastering them, and which I never had seen exposed anywhere so clearly. The wise advice of the author, lavished throughout the book, to make good use of the exceptional richness of Ruby will also benefit to all readers.
As good as it is, this book presents however some small defects: the author always wanting to make sure you hit the point, some explanations are slightly verbose, and its deliberate choice to not speak about the important differences occurred between Ruby 1.8 and 1.9 may annoy some readers. But these few defects are really minors in regard of the great qualities of this book, and I completely recommend it.
Summary: important read
If you have any doubts about your Ruby knowledge, then you should read this book. After months of frustration while looking at source code and wasting time with Why's Poignant Guide, I made it a point to read through all pages of the Well-Grounded Rubyist. Once I was done, the difficulty was gone. Now I can read Rails code with ease, all the code makes sense and I feel like I entered a whole new world. David Black guides the reader through the topics he feels are most important. I resisted the temptation to put down the book and start programming, but I am glad I waited. The book is so useful that having finished it, you will be on a new level and your next task will be to learn how Ruby's powerful features can be combined into non-trivial frameworks. If you skip this book, you risk writing mediocre code, at least until you are forced to learn the features and techniques of the language...the hard way.
Summary: The Well-Grounded Rubyist -
"The Well-Grouded Rubyist" by David A. Black leads readers through the foundations of Ruby programing language to the basics of advanced concepts such as metaprogramming.The book will be very useful for beginner Ruby programmers who, having knowledge of some other programming language, want to learn the basics of Ruby. It gives the taste of the language, presents its strengths and scripting applications. The code examples are simple, comprehensible and very concise, which makes them the excellent illustration to the introduced elements of the language. It is worth noting that "The Well-grounded Rubyist" covers version 1.9.1 of the Ruby language and therefore introduces its novel features.
I, too, struggled a bit when learning Ruby. I tried the Pick Axe, Programming Ruby, Beginning Ruby, Learning Ruby... I could have saved a ton of money if I'd just had this book first. Excellent. Easy to read, but not dumbed down. I came away with a much deeper understanding of WHY oop is used, and how to use it in ruby.
If you are looking to understand ruby, look no further.
Summary: the best, first book to discover ruby ...