The Well-Grounded Rubyist: Covers Ruby 1.9.1 (英語) ペーパーバック – 2009/6/7
Kindle 端末は必要ありません。無料 Kindle アプリのいずれかをダウンロードすると、スマートフォン、タブレットPCで Kindle 本をお読みいただけます。
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. Whether the topic is simple or tough, the book's easy-to-follow examples and explanations will 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.
Starting with the basics, The Well-Grounded Rubyist explains Ruby objects and their interactions from the ground up. In the middle chapters, the book turns to an examination of Ruby's built-in, core classes, showing the reader how to manipulate strings, numbers, arrays, ranges, hashes, sets, and more. Regular expressions get attention, as do file and other I/O operations.
Along the way, the reader is introduced to numerous tools included in the standard Ruby distribution--tools like the task manager Rake and the interactive Ruby console-based interpreter Irb--that facilitate Ruby development and make it an integrated and pleasant experience.
The book encompasses advanced topics, like the design of Ruby's class and module system, and the use of Ruby threads, taking even the new Rubyist deep into the language and giving every reader the foundations necessary to use, explore, and enjoy this unusually popular and versatile language.
It's no wonder one reader commented: "The technical depth is just right to not distract beginners, yet detailed enough for more advanced readers."
Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.
David A. Black is a Senior Developer at Cyrus Innovation, Inc., andthe director of Ruby Power and Light, LLC. He has been programming in Ruby since 2000, and is also a director of Ruby Central, Inc., the parent organization of the International Ruby Conference (RubyConf).
Ruby is a beautiful and very very powerful language - a language that allows you to write domain specific languages (e.g. RAILs is one of them). To really harvest the power that object oriented paradigm brings to the table, one must master the language.
There are many experts in ruby programming, but only a few that can teach you how to master ruby like Dr. Black can. I've been literally digesting this book for the past several months. Spending hours each week referencing the material discussed in this book, experimenting with the language on my new automation project.
For me this book is worth several thousand $ in value. How did I arrive at the value? I spent a week at my company's ruby class which was taught by some ruby expert costing 2k per person. And I didn't get more than 20% covered in the book. Besides, some of the complex concepts just require time and experiment to sink in. Only a book like this can fulfill such a requirement.
It all depends on what you want to get out of the book. The more time you interact with it, the more value you will get out of it. I definitely recommend entering the example code in irb as you go through the book. It can take you from beginning level all the way to the advance level to go and comfortably read ruby library source codes like the minitest gem source code. I highly recommend reading this source code to test your ability to understand how ruby work.
I see comments about verboseness and repetitiveness. My only response to this is that I wish it was even more verbose. Maybe I'm a slow learner, but I find myself having to re-read each page several times. And even then, I still need to google for additional details. But what Dr. Black covered was adequate for me to investigate further.
There is great cost to the teacher and the student to master something like ruby. For me it was plain sweat and grinding until it sinks in. I'm glad there is someone like Dr. Black who is the master himself, and who is willing to help others getting to the same level.
I've coded on and off with Ruby for about 18 months, and decided that I really wanted to improve with the language, hence purchasing this book. About half of the programming books I buy go unread or I'll lose interest before getting too deep into them. The Well-Grounded Rubyist has completely changed the way I think of Ruby, in a "I was blind and now I see" way. I could code Ruby okay before this book, but I never really understood a lot of the finer points of the language (what self really meant, some of the complexities that come with "everything is an object", etc).
The book manages to explain concepts thoroughly without being verbose or boring. Easily among my personal list of top five programming language books.
I've finished the book, and felt that Part 2 was a lot slower and less useful for me, as I'm comfortable with regex and ruby data structures. For a beginner, Part 2 is worth reading. If you're not new to Ruby, Part 1 alone is worth the purchase - I'd recommend skimming Part 2 (giving particular attention to important stuff like the Enumerable module) and then checking out Part 3 topics.
I'm about half way through this book and I really like it. It is very well written, organized in a logical way, and is easy to follow. I think it could accommodate anyone that wants to learn Ruby. If you have no previous programming experience you will probably have some difficulties jumping right into this book, but it would be possible with some supporting materials.
This is not a reference book. It is also not a traditional text book, so it is lacking exercises and problems to solve.
I think it could have struck a better balance by having problems and exercises for self learners, but it does have good code examples.