Book description
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.
Table of contents
-
Learn to Program
- Copyright
- For the Best Reading Experience...
- Table of Contents
- Preface to the Second Edition
- Introduction
- Chapter 1: Getting Started
- Chapter 2: Numbers
- Chapter 3: Letters
- Chapter 4: Variables and Assignment
- Chapter 5: Mixing It Up
- Chapter 6: More About Methods
- Chapter 7: Flow Control
- Chapter 8: Arrays and Iterators
- Chapter 9: Writing Your Own Methods
- Chapter 10: 10:
- Chapter 11: Reading and Writing, Saving and Loading, Yin and…Something Else
- Chapter 12: New Classes of Objects
- Chapter 13: Creating New Classes, Changing Existing Ones
- Chapter 14: Blocks and Procs
- Chapter 15: Beyond This Fine Book
- Appendix 1: Possible Solutions
Product information
- Title: Learn to Program, 2nd Edition
- Author(s):
- Release date: March 2009
- Publisher(s): Pragmatic Bookshelf
- ISBN: 9781934356364
You might also like
book
Learn to Program, 3rd Edition
It's easier to learn how to program a computer than it has ever been before. Now …
book
How Software Works
How Software Works explains everyday software to the non-programmer.
book
The Secret Life of Programs
Computer programming is not abstract and programs run on a machine. Knowing how computers work and …
book
Becoming a Better Programmer
If you’re passionate about programming and want to get better at it, you’ve come to the …