Learn to Program (Facets of Ruby) and over one million other books are available for Amazon Kindle. Learn more

Vous voulez voir cette page en français ? Cliquez ici.

Sign in to turn on 1-Click ordering.
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Start reading Learn to Program (Facets of Ruby) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Learn to Program [Paperback]

Chris Pine
5.0 out of 5 stars  See all reviews (2 customer reviews)
List Price: CDN$ 24.95
Price: CDN$ 19.96 & FREE Shipping on orders over CDN$ 25. Details
You Save: CDN$ 4.99 (20%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 2 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Want it delivered Friday, October 3? Choose One-Day Shipping at checkout.


Amazon Price New from Used from
Kindle Edition CDN $14.35  
Paperback CDN $19.96  
Save Up to 90% on Textbooks
Hit the books in Amazon.ca's Textbook Store and save up to 90% on used textbooks and 35% on new textbooks. Learn more.
Join Amazon Student in Canada

Book Description

April 7 2009 1934356360 978-1934356364 Second Edition

Printed in full color.

For this new edition of the best-selling Learn to Program, Chris Pine has taken a good thing and made it even better. First, he used the feedback from hundreds of reader e-mails to update the content and make it even clearer. Second, he updated the examples in the book to use the latest stable version of Ruby, and also to use code that looks more like real-world Ruby code, so that people who have just learned to program will be more familiar with common Ruby techniques.

Not only does the Second Edition now include answers to all of the exercises, it includes them twice. First you'll find the "how you could do it" answers, using the techniques you've learned up to that point in the book. Next you'll see "how Chris Pine would do it": answers using more advanced Ruby techniques, to whet your appetite as well as providing sort of a "Rosetta Stone" for more elegant solutions.

Computers are everywhere, on every desk, in your iPod, cell phone, and PDA. To live well in the 21st century, you need to know how to make computers do things. And to really make computers do what you want, you have to learn to program.

Fortunately, that's easier now than ever before. Chris Pine's book will teach you how to program. You'll learn to use your computer better, to get it to do what you want it to do. Starting with small, simple one-line programs to calculate your age in seconds, you'll see how to advance to fully structured, real programs. You'll learn the same technology used to drive modern dynamic websites and large, professional applications.

It's now easier to learn to write your own computer software than it has ever been before. Now everyone can learn to write programs for themselves---no previous experience is necessary. Chris takes a thorough, but light-hearted approach that teaches you how to program with a minimum of fuss or bother.

Printed in full color.

Special Offers and Product Promotions

  • Join Amazon Student in Canada

Customers Who Bought This Item Also Bought

Product Details

Product Description


""Thanks for "Learn to Program." My 10 year old son picked it up tonight, opened up my old MBP, and just started going at it. It's fun to see him so excited about something that I love and am lucky enough to make a living at. Though my son is in our school's gifted and talented program, they have not yet delved into computers in much detail. "Learn to Program" is turning out to be a fun way to share my excitement about programming with him.""--Scott Meade

About the Author

Chris Pine first discovered the programming language Ruby in early 2001 and immediately began using it to build tools for his day job: programming computer games. After hours, he volunteered with gifted children teaching them advanced mathematics. With Ruby, he began to teach his students programming as well. Once he saw how easily his students learned advanced programming concepts in this environment, he decided to expand his teaching materials into a book. Chris enjoys board games and juggling, and lives with his darling wife and two darling children in darling Oslo, Norway. He is very happy.

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4 star
3 star
2 star
1 star
5.0 out of 5 stars
5.0 out of 5 stars
Most helpful customer reviews
5.0 out of 5 stars Husband's Christmas gift is a huge success! Dec 25 2012
Format:Paperback|Verified Purchase
My husband had this book, and "Ruby on Rails for Dummies" on his wish list this year. He is enjoying them both. He is new to Ruby, and these two books seem to form a good foundation. Note that he isn't new to programming, just new to Ruby.
Was this review helpful to you?
5.0 out of 5 stars Excellent introduction to programming and Ruby! July 28 2011
Great book for beginners. Pace is good - tone is good - examples are relevant! Highly recommended for anyone who would like to learn to program.
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.3 out of 5 stars  37 reviews
20 of 22 people found the following review helpful
3.0 out of 5 stars Great until chapter 8 May 11 2011
By Love to read - Published on Amazon.com
Format:Paperback|Verified Purchase
This book was great until Chapter 8. Now it's going way too fast without enough examples. Also there are only a few practice exercises now and they start out too advanced so that you can't do them without looking at the answers. This does not inspire confidence! There should be more practice exercises at the end of the chapter, starting with easy ones and getting harder and harder.
7 of 7 people found the following review helpful
3.0 out of 5 stars It's good if you use supplementary materials! May 26 2013
By Amin196 - Published on Amazon.com
About a year ago, I decided to pick up Learn to Program because I had very little programming experience (primarily characterized by copy-and-pasted AWK scripts and some web design via HTML/CSS)and I wanted something that would provide a truly introductory text to programming as a skill (the Ruby language is a plus). Learn to Program kind of falls short of that expectation. While the first first seven or so chapters are written well, the latter half of the book jumps the boat. The assignments were too difficult to solve without peaking at the answers and there were very few assignments at that. Although the anecdotal approach that Pine takes to develop a concept through a chapter is helpful and appreciated, the book can be improved through the addition of more examples that increase in complexity as well as more assignments. However, the experience can be improved by completing related exercises on CodeAcademy (Ruby), RubyMonk, and Ruby Koans (a bit more advanced).
3 of 3 people found the following review helpful
5.0 out of 5 stars Never thought I could program Jan. 26 2014
By Liana Burnside - Published on Amazon.com
Format:Paperback|Verified Purchase
To start out with, I have tried to learn programming before, but it never really stuck. Mostly I looked up tutorials on Youtube and poked around in forums, but it all seemed so confusing and insurmountable. I am absolutely not a math person, so I thought programming would always be beyond my reach. However, my little nerd dream of making video games took root, and so I bought this book.

Two weeks later, I made my first video game. Yes, it's a piece of crap, but it's just the beginning. This book teaches you from square one, in a way that is very approachable and friendly (and includes a ton of nerdy references to everything from video games to Buffy). So if you have never tried programming before, this is a great book to start out with.

A note that a lot of reviewers bring up is about the learning curve of the book. Yes, the later chapters cover some advanced stuff, and it can really throw you for a loop. However, you don't NEED to understand everything all at once. Having trouble understanding recursion? Just skip that section. You can come back to it later as you need it. The great thing about this book is that it is both a guide and a reference. Once you get the basics, if something seems overwhelming or unimportant, you can skip it and come back to when you need it. I would definitely recommend this book to people interested in learning to program.

And for anyone interested, you can check out a copy of the simple game I made using this book. This is a good example of the kind of stuff you will be able to do after just about 7-12 hours with the book. (Note: you will need ruby installed on your computer for it to work)[...]
7 of 9 people found the following review helpful
5.0 out of 5 stars Great introduction to programming Sept. 23 2011
By Ryan P. Moser - Published on Amazon.com
I tried and failed to learn to code several times before finding Mr. Pine's excellent book. He gets two things overwhelmingly right in this book. First, the problems he includes are "just right" - difficult enough to make you think and really understand the material, but not so hard that they become discouraging. Second, he shares a piece of himself and brings levity to what could be very dry subject matter and does it in a way that enhances learning.
1 of 1 people found the following review helpful
4.0 out of 5 stars Excellent, but gets too difficult towards the end. Dec 5 2013
By LW - Published on Amazon.com
Excellent book! I've learned tons and felt great when I managed to complete a lot of the challenges on my own. However it lost me towards the end, and I find myself going back and looking up other sources to try and follow.

Still excellent.
Search Customer Reviews
Only search this product's reviews

Look for similar items by category