Is there a best ruby programming book

Hey, I just started a course for ruby and wanted some book advice, is there a best one or one that is really popular.

Suggest a resource

Aws4 request&x amz signedheaders=host&x amz signature=f87d2bb8004700c67c157971a494039a8744fa219b8655dd84424fd2cba91964

Hello Ruby: Adventures in Coding

Visit home page

"Hello Ruby is half picture book and half activity book rolled into one adorable package. It introduces programming without requiring a computer at all. The point of the book isn’t to teach you a programming language, but programming concepts." --GeekMom.com

Meet Ruby―a small girl with a huge imagination, and the determination to solve any puzzle. As Ruby stomps around her world making new friends, including the Wise Snow Leopard, the Friendly Foxes, and the Messy Robots, kids will be introduced to the fundamentals of computational thinking, like how to break big problems into small ones, create step-by-step plans, look for patterns and think outside the box through storytelling. Then, these basic concepts at the core of coding and programming will be reinforced through fun playful exercises and activities that encourage exploration and creativity.

In Ruby's world anything is possible if you put your mind to it.

A truly inspiring book. I brought this as a Computing teacher to find ways of helping students understand programming and to try and simplify it. This book does it and has also helped me when teaching content even to secondary age children.

The book is excellent at teaching students how to understand programming constructs, especially problem solving, understanding loops, planning and most importantly thinking outside the book and computational thinking.

I have also used it as bed time reading for my daughter who is always interested in what I am doing when planning my lessons and now she understands and wants to learn more. I would love to see further books, especially ones like these aimed at girls!!

An excellent book for all ages!

Aws4 request&x amz signedheaders=host&x amz signature=6fd964ff434d1164c4b9a2a4ac328880150d71ba52bc3ee2331ad4fb3657f00d

Learning Ruby

Visit home page

You don't have to know everything about a car to drive one, and you don't need to know everything about Ruby to start programming with it. Written for both experienced and new programmers alike, Learning Ruby is a just-get-in-and-drive book -- a hands-on tutorial that offers lots of Ruby programs and lets you know how and why they work, just enough to get you rolling down the road.

Interest in Ruby stems from the popularity of Rails, the web development framework that's attracting new devotees and refugees from Java and PHP. But there are plenty of other uses for this versatile language. The best way to learn is to just try the code! You'll find examples on nearly every page of this book that you can imitate and hack. Briefly, this book:

  • Outlines many of the most important features of Ruby
  • Demonstrates how to use conditionals, and how to manipulate strings in Ruby. Includes a section on regular expressions
  • Describes how to use operators, basic math, functions from the Math module, rational numbers, etc.
  • Talks you through Ruby arrays, and demonstrates hashes in detail
  • Explains how to process files with Ruby
  • Discusses Ruby classes and modules (mixins) in detail, including a brief introduction to object-oriented programming (OOP)
  • Introduces processing XML, the Tk toolkit, RubyGems, reflection, RDoc, embedded Ruby, metaprogramming, exception handling, and other topics
  • Acquaints you with some of the essentials of Rails, and includes a short Rails tutorial.
Each chapter concludes with a set of review questions, and appendices provide you with a glossary of terms related to Ruby programming, plus reference material from the book in one convenient location. If you want to take Ruby out for a drive, Learning Ruby holds the keys.

It's odd. I bought this then it sat on the shelf for a year. Then I finally had a notion to learn Ruby. This, as someone who's used Perl for 15 years, is almost a punishable offence, but anyway the book got picked up and then read from cover to cover. Along the way I began to see something maybe (surely not) a lot better than Perl. And now I'm trying to "think" a bit more in the Ruby way than the Perly way. And getting on just fine with it too. I've bought the wee Pocket Reference to go with it and the Pick Axe book also but Learning Ruby is an excellent overview kind of reminiscent of a certain Learning Perl book a long time ago...

Aws4 request&x amz signedheaders=host&x amz signature=c25f3ff625e47a34c482a3d539d27396723c696d21bb226e861a72e4c1aae1ee

The Ruby Programming Language: Everything You Need to Know

Visit home page

The Ruby Programming Language is the authoritative guide to Ruby and provides comprehensive coverage of versions 1.8 and 1.9 of the language. It was written (and illustrated!) by an all-star team:

  • David Flanagan, bestselling author of programming language "bibles" (including JavaScript: The Definitive Guide and Java in a Nutshell) and committer to the Ruby Subversion repository.

  • Yukihiro "Matz" Matsumoto, creator, designer and lead developer of Ruby and author of Ruby in a Nutshell, which has been expanded and revised to become this book.

  • why the lucky stiff, artist and Ruby programmer extraordinaire.
This book begins with a quick-start tutorial to the language, and then explains the language in detail from the bottom up: from lexical and syntactic structure to datatypes to expressions and statements and on through methods, blocks, lambdas, closures, classes and modules.

The book also includes a long and thorough introduction to the rich API of the Ruby platform, demonstrating -- with heavily-commented example code -- Ruby's facilities for text processing, numeric manipulation, collections, input/output, networking, and concurrency. An entire chapter is devoted to Ruby's metaprogramming capabilities.

The Ruby Programming Language documents the Ruby language definitively but without the formality of a language specification. It is written for experienced programmers who are new to Ruby, and for current Ruby programmers who want to challenge their understanding and increase their mastery of the language.

I chose this book as my first ruby book and my introduction to the Ruby language. And for me that worked out really well. I would not recommend this book as an "introduction to programming" kind of book but as an introduction to ruby for people who have been programming for a time and used several other languages, it's great and it's kind of a language reference but better written than most language references I've come across earlier. It's blend of a language reference and how-to-write-ruby and a really great blend at that.

Aws4 request&x amz signedheaders=host&x amz signature=c4fc8bcff7b7ec6db21344238e3b709976ab954962402c74a6dca4b7c1e6352c

Ruby Best Practices: Increase Your Productivity - Write Better Code

Visit home page

How do you write truly elegant code with Ruby? Ruby Best Practices is for programmers who want to use Ruby as experienced Rubyists do. Written by the developer of the Ruby project Prawn, this concise book explains how to design beautiful APIs and domain-specific languages with Ruby, as well as how to work with functional programming ideas and techniques that can simplify your code and make you more productive. You'll learn how to write code that's readable, expressive, and much more.

Ruby Best Practices will help you:

  • Understand the secret powers unlocked by Ruby's code blocks
  • Learn how to bend Ruby code without breaking it, such as mixing in modules on the fly
  • Discover the ins and outs of testing and debugging, and how to design for testability
  • Learn to write faster code by keeping things simple
  • Develop strategies for text processing and file management, including regular expressions
  • Understand how and why things can go wrong
  • Reduce cultural barriers by leveraging Ruby's multilingual capabilities

This book also offers you comprehensive chapters on driving code through tests, designing APIs, and project maintenance. Learn how to make the most of this rich, beautiful language with Ruby Best Practices.

BP is very rich with ideas and perspectives and examples but there are also a lot of simple takeaways that will stick with me as long as I write code in Ruby. Though it is rich and probably not a book you can master in one reading there are many nuggets and tips that will give you immediate gratification. Some of these tips seem so minor but they amount to be the things that save us tons of time (see Chapter 6 "When Things Go Wrong" on making the most of Ruby's reflection for debugging). You should check it out, read it in your user group or dev team and discuss it. I really think we need more of these type of practical best practices books and blogs and case-studies and discussions and I am glad for the appearance of this book.