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. To do that, you need to go beyond syntax and absorb the “Ruby way” of thinking and problem solving. In Eloquent Ruby, Russ Olsen helps you understand Ruby . ELOQUENT RUBY. Russ Olsen. Upper Saddle River, NJ • Boston • Indianapolis • San Francisco. New York • Toronto • Montreal • London.
|Published (Last):||28 March 2005|
|PDF File Size:||19.18 Mb|
|ePub File Size:||16.47 Mb|
|Price:||Free* [*Free Regsitration Required]|
The Basics Chapter 1. I think it might be an excellent compa Eloquent Ruby takes a ride through 30 topics about Ruby, from how the Ruby community idents code to Metaprogramming and how to publish a Gem to RubyGems. After working with Ruby for some time and read The Ruby programming language, I found most of the content more of the same.
I love the layout of each chapter, in that I feel it generally covers well why each feature is useful and how to avoid impaling yourself on the sharp stick of Ruby with said feature. It’s a well written book with some good insights but I think I should have tried to read it earlier.
Eloquent Ruby by Russ Olsen
Probably suits best for “intermediate” Ruby developers wanting to learn bits about implementing DSLs, metaprogramming, enumerators and just plain old object oriented Ruby. Crafting good explanations is an art in olseen, one that we need to get better at it or all this great new stuff is simply going to overwhelm us. This is awesome book if you already know how to program but don’t know where to start learning Ruby.
On the one eloquenf you can pick up specific tips and techniques: Want to Read Currently Reading Read.
You ask if the more conventional design might not work just as well and be easier for the next programmer – who might well be you – to understand. It’s really no different with open classes, blocks and eval.
A method that tuss the business logic around, say, currency conversions, should not suddenly veer off into the details of how the various accounts are stored in a database.
Surprisingly, some of the key tools for detecting less-than-ideal Ruby code are the testing tools: The writing was entertaining though a bit rough in a few places. The argument is often “we want the reader to be able to use this as a reference.
Eloquent Ruby 20 reviews. Apr 22, Olly rated it really liked it. It explains all the important features in Ruby that you’ve missed in your beloved language!
I euss read through the book and this was my second attempt at reading it. SF Ruby Book Club: With Safari, you learn the way you learn best. For example, Beck is where I first came across the Composed Method idea while Bloch’s is the last word on the Hell that is equality in an object oriented language.
Book review – Eloquent Ruby by Russ Olsen
The book mentions using hooks like self. Pulling It All Together Chapter To ask other readers questions about Eloquent Rubyplease sign up. Nothing new here; we have all heard endless lectures about picking good method names. The traditional programming constructs, things like methods and classes and variables are all there to help us make the computer do what we want the computer to do.
Paperbackpages. Get a holistic view of your application behavior with Site24x7. He concludes with powerful project-level features and techniques ranging from gems to Domain Specific Languages. The only chapter that felt a bit disconnected from the rest, was the chapter on the various Ruby runtimes, though it was certainly interesting.
Eloquent Ruby starts small, answering tactical questions focused on a single statement, method, test, or bug. There is no physical event horizon between regular programming and metaprogramming – it’s all just programming. I especially liked all the real world examples from well known frameworks and tools russs from rake, rspec to rails and cucumber.
In Eloquent Ruby, Russ Olsen helps you write Ruby like true Rubyists do-so you can leverage its immense, surprising power. Nov 07, Milad Rastian rated it it was amazing. Nice guide to how Ruby Programmers write code and approach syntax.
Use Blocks to Iterate Chapter But there’s more to it than that: Eloquent Ruby starts small, answering tactical questions focused on dloquent single statement, method, test, or bug. Part I is about helping you write code that looks like ruby and follow styles used by the ruby community, ellquent. Addison-Wesley Professional Ruby Series.