Binding: Paperback Dewey Decimal Number: 005.117 EAN: 9781593271480 ISBN: 1593271484 Label: No Starch Press Manufacturer: No Starch Press Number Of Items: 1 Number Of Pages: 326 Publication Date: June 08, 2007 Publisher: No Starch Press Sales Rank: 80242 Studio: No Starch Press
There may be no better way to learn how to program than by dissecting real, representative examples written in your language of choice. Ruby by Example analyzes a series of Ruby scripts, examining how the code works, explaining the concepts it illustrates, and showing how to modify it to suit your needs. Baird's examples demonstrate key features of the language (such as inheritance, encapsulation, higher-order functions, and recursion), while simultaneously solving difficult problems (such as validating XML, creating a bilingual program, and creating command-line interfaces). Each chapter builds upon the previous, and each key concept is highlighted in the margin to make it easier for you to navigate the book.
You'll learn how to:
Use the interactive Ruby shell (irb) to learn key features of the language
Extend Ruby using RubyGems, the Ruby package manager
Create numerical utilities, as well as utilities that process and analyze HTML/XML
Implement purely functional and metaprogramming techniques to save time and effort
Optimize, profile, and test your code to make sure that it not only does its job, but does it well
Create web applications using Rails
Ruby is the fastest growing programming language today, and for good reason: Its elegant syntax and readable code make for prolific and happy programmers. But it can be difficult to understand and implement without a little help. Ruby by Example shows you how to take advantage of Ruby as you explore Ruby's fundamental concepts in action.
Customer Reviews
Average Rating:
Rating: - Ruby progrmming language.
The book came very fast in the mail. It was new in quality. I am able to teach myself Ruby from the book.
Rating: - Simply Excellent...
If you want to learn Ruby quickly and you can only afford to buy one book to do it with, this is the one I would buy! It has interesting little projects with well documented code which introduces you gradually to more advanced topics in the language. It is not a cookbook, but rather, a very well picked selection of programmes where new concepts are thoroughly explained and older concepts are reinforced. There are "hacks" to just about every script and I was able to learn more from this than I ... Read More
Rating: - Tries something a bit different, is mostly successful
Ruby By Example seeks to teach Ruby by introducing a series of small scripts, explaining how they work, often by showing some examples in irb, Ruby's interactive shell, and reinforcing the explanations with some suggested modifications to the script to highlight the principles just expounded. The closest examples in other languages I'm aware of are Dive Into Python and (to a lesser extent) Wicked Cool Perl Scripts.
This is a very nice idea, and there are some examples that are a cut ... Read More
Rating: - Wonderful Ruby Learning Book!!
'Ruby by Example: Concepts and Code' is the perfect reference for anyone that wants to learn how to use Ruby, one of the hottest programming languages to come around in some time. With over around 300 pages of content spread across 45 examples, this book will give you all the basis you need to go from a non-Ruby user to someone writing good code immediately!! I think that the No Starch line has some of the most unique layouts you will find from any publishing line. Chapters are usually broken ... Read More
Rating: - Absolutely Brilliant
Superb introduction to Ruby and important programming idioms that every Rubyist should know. Shows you a small chunk of code, with significant lines numbered, and follows the code with descriptive paragraphs that show you what the code is doing. In effect, you learn how to read the code as you go through the book, starting with basic material and getting more advanced as you go along. VERY nicely done.