Loading
Cover of Ruby by Example: Concepts and Code

Book guide and evaluation

Ruby by Example: Concepts and Code

Kevin C. Baird

English Unordered Programming Languages
4.3 / 5

0 reviews

2007

Published

309

pages

406

views

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 modi

Before you read

What will you get from this book?

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

Ask this book

Your question is answered in the context of this title and author. Each answer uses 2 points.

Sign in to ask the book assistant.

Reader reviews

0 reviews, 4.3 average out of 5

No reviews yet

If you have read this book, help the next reader with your experience.

Write a review

Sign in to publish a review.

Reader questions and answers

Ask a focused question and learn from the community.

Sign in to ask or answer a question.

No questions yet

Be the first to ask a clear, useful question.