In Eloquent Ruby, Russ Olsen helps you write Ruby like true Rubyists do—so you can leverage its immense, surprising power. Olsen draws on years of experience internalizing the Ruby culture and teaching Ruby to other programmers. Eloquent Ruby starts small, answering tactical questions focused on a single statement, method, test, or bug. Next, the book addresses bigger questions related to building methods and classes.
|Published (Last):||17 May 2018|
|PDF File Size:||13.67 Mb|
|ePub File Size:||8.54 Mb|
|Price:||Free* [*Free Regsitration Required]|
In Eloquent Ruby, Russ Olsen helps you write Ruby like true Rubyists do—so you can leverage its immense, surprising power. Olsen draws on years of experience internalizing the Ruby culture and teaching Ruby to other programmers. Eloquent Ruby starts small, answering tactical questions focused on a single statement, method, test, or bug. Next, the book addresses bigger questions related to building methods and classes. He concludes with powerful project-level features and techniques ranging from gems to Domain Specific Languages.
Customer Book Reviews The first Ruby book I read in full within 24 hours By Peter Cooper on Feb 26, This book is so easy to read yet so useful and informative that I read it in its entirety within 24 hours across 2 distinct days admittedly ;-.
It clocks in at around pages and has 31 chapters clocking in at around a punchy 10 pages each. As with Design Patterns in Ruby, Russ adopts a chatty, familiar tone.
Reading this book is like reading a book specifically written for you by a friend. The book is also notably short of egregious errors or omissions.
Russ tries to remain neutral with his choice of Ruby implementations but the book seems to focus primarily on Ruby 1. I wholeheartedly recommend this book to anyone except those who, well, could have written a similar book themselves.
The short punchy chapters make it a delight to read and gives the option of reading it merely 10 minutes at a time before bed or similar. Eloquent Olsen By Fogus on Mar 07, For better or worse the vast majority of my work life journey has been travelled with Java as my vehicle of expression. Having at one time counted myself as a true-believer in everything pattern-esque, I was excited for the opportunity to learn Ruby under the aegis of The Gang of Four. However, what I found was something else entirely.
I absolutely loved "Design Patterns in Ruby" for reasons that I was not expecting. Olsen, with his latest effort has mastered the art of writing a book that is extremely interesting, fun, and informative.
As an author myself, I greatly admire the ability in other authors to take what many would consider dry and bland, a programming language book, and create something that is truly special. The structure of the book will help guide the Ruby neophyte toward a stronger understanding of not only the language constructs and idioms, but also the Ruby culture.
As a proponent of the Lisp family of languages, I tend to look askance at languages falling into the ALGOL family, but "Eloquent Ruby" has succeeded in convincing me that with the right approach and mindset then Ruby can be a stunningly beautiful language. And this is really the key point to take away from Mr. It takes a while to see the power in this technique, but "Eloquent Ruby" makes a compelling case indeed.
Russ Olsen has helped me to gain more experience points in Ruby, and I must say that I am excited to learn more. If you too wish to learn more about Ruby, then you would be hard-pressed to find a better book than "Eloquent Ruby" in helping you to do so. Add to that a target audience with a widely diverse range of skills and the tasks seems to be out right impossible.
Fortunately for us mere mortals Russ Olsen has taken on this challenge and surpassed my high expectations in his second book, Eloquent Ruby. The first part of the book is for the Ruby newbies, but takes an interesting deviation from most programming books. Instead of focusing simply on the syntax and language libraries, Eloquent Ruby focuses on the community aspect of the Ruby programming language.
Each programming community has its own style and norms and without a lot of direction and practice, these style and norms can be difficult to learn. In Part Two of Eloquent Ruby, Olsen dives into the core concepts and building blocks of the Ruby programming language.
Newcomers to Ruby are often mystified by Ruby code that appears to be doing magical things like dynamically adding methods to a class. In this section, Russ pulls back the curtain and explains the magic that is metaprogramming. Those unfamiliar with the concept may find the topic confusing at first, but Olsen breaks it down in a way that is easy to understand. In the last section Russ ties a lot of the concepts of the book together through a discussion on how Ruby can be used to create Domain Specific Languages DSLs.
As a bonus Russ finishes the book with a chapter on how to package your code into a gem Ruby library and a chapter on the different Ruby Implementations. At almost pages I feared Eloquent Ruby would take a while to read, but I was pleasantly surprised at the pace at which I made it through the book.
Even though the book was a quick read it still felt as if I had gained a lot of new knowledge after its completion. The book is broken up into 30 concise chapters that each focus on a specific topic. Following a similar pattern from his first book, Design Patterns in Ruby, each chapter of Eloquent Ruby describes code examples "In the Wild" where Olsen discusses code snippets from open source projects using the topics covered within that chapter.
In my opinion giving "real world" code examples was a great way to prove the relevance of the information covered in the book.
Also, it has occasional nuggets of unexpected awesome baked in that make me want to come back for seconds and beyond. And if you find another tech book that appropriately and un-forcedly uses and correctly spells the word "legerdemain", please let me know what it is.
Olsen spurns dry academics in favor of approachability and casual language. The result is, as mentioned in other reviews, a highly readable book. However, casual though it may be this text is also jam-packed with pearls of wisdom. Contained within are the cliff notes for: 1 What differentiates Ruby from adjacent languages. Further, each new Ruby concept is related back to real world implementations in recognisable technologies like Rake and Rails.
Including you! This should be your second Ruby book By Brian Wisti on Aug 28, A pleasant journey through how Ruby makes expressing certain solutions more pleasant. It gradually builds in complexity from basic syntax through metaprogramming to creating DSLs and looking at the source code of Ruby implementations.
It is not intended to be your introduction to Ruby, but the dedicated learner could probably use it in that way. Olsen gave me a solid respect for metaprogramming - how it works and when you should do it. Also, I love that he used real world examples of projects "in the wild" which use the techniques he demonstrated. If you read the book, follow along and look at those projects. It makes the material much clearer. The Eloquent Ruby treatment of blocks, method missing, and instance eval made the Rails book less magical and more directly connected to my understanding of software engineering.
Great book for those who want to dive deeper into Ruby By Leonardo Chen on Apr 27, I rarely buy books on programming languages, because there is so much information online. But this book is truly a gem. I really wish there were more books with the same style of language and organization. This is not a book for gurus, and probably not a good starting point for beginners either.
However, if you know the basics of Ruby or Rails, this will definitely take you to the next level. Ruby became my absolute favorite language after this book. For working professionals needing to master ruby. By Strategist on Jul 26, It does a decent job. Becoming an expert is an iterative process, not reading a book, and then suddenly knowing everything. Still, is is thorough, and it does provide sufficient examples.
They not only want to write good working code but want it to be beautiful. When I first got into Ruby I asked a senior programmer about style and his answer was to read the ruby discussion lists and I would eventually pick it up.
I did not, this may be a reflection on me but after six months of trying to wrap my head around Ruby I was still just not getting what I considered weird rubyisms.
Much of this book is about explaining style and why your actually writing better code when you do things the ruby way. It also spends a fair amount of text explaining the dangers of each feature and how best to mitigate danger while still keeping the power. Instead, it introduces the reader to the idiomatic Ruby way to do something they might do in a less flexible or appealing way coming from another language.
My bookshelf is stuffed with programming books, and I have some excellent Ruby ones. It deserves a spot on your bookshelf. Highly recommended. Perfect for those who already have a solid foundation in Ruby.
By Patrick Worlds on Nov 07, This is a truly wonderful book. The author explains everything in clear to-the-point way instead of dancing around the point with pages of filler. A good reference for some. By John D. I feel that the book would be fantastic for anyone coming to Ruby with an in-depth knowledge of another programming language.
My main reason for giving it four stars instead of five is that this edition is a bit dated it focuses on Ruby 1. Also, it should be noted that Eloquent Ruby is written more like a reference book than a "how-to" or textbook ie - while Russ Olsen does offer real world examples at the end of chapters, this book is not written with the express purpose of teaching you how to code using the Ruby programming language, or giving you multiple or one large scale "project" to work through with the authors guidance.
Teaches idiomatic Ruby; an easy read By Flekstpor Drufan on Mar 18, I enjoyed reading this book, and found it to be a useful adjunct to other learning materials. The technical content is very clearly presented, with just the right amount of detail to get the point across, and not much more.
Where the book differs from most tutorials is that it focuses on teaching Ruby that is not just "correct", but also idiomatic. I now understand better how, for example, Rails is able to work its various "magic" using various Ruby idioms. I wonder how easy it might be to get carried away with some of these idioms and end up writing a bunch of difficult-to-understand, difficult-to-maintain code. However, insofar as this sort of jazz is part of idiomatic Ruby, I suppose the author is fulfilling his mandate by promoting it; so I hesitate to deduct a star just on account of my own scruples here.
I would definitively recommend this book to any newcomers to Ruby that have already written a few Ruby programs. This book does not give you an intro to Ruby, but rather, as the name implies, how to write eloquent Ruby assuming you know how to program. This is a great book for refactoring and really breaking through the beauty of this language.
Unlike the bulky books like ruby way which are in the same light, this books takes a pragmatic approach. Not much philosophy and details but to the point descriptions. And yes I am confused between the two and exactly as the author predicted I was trying to overwrite a hash symbol with its string equivalent. Great buy! By Goddie on Feb 02, Great buy! By James M.
Addison-Wesley Professional Ruby Series
Eloquent Ruby (Addison-Wesley Professional Ruby Series)