Learn to Program, 2nd Edition Front Cover

Learn to Program, 2nd Edition

  • Length: 194 pages
  • Edition: Second
  • Publisher:
  • Publication Date: 2009-04-07
  • ISBN-10: 1934356360
  • ISBN-13: 9781934356364
  • Sales Rank: #283668 (See Top 100 Books)
Description

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.

Table of Contents

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. There’S Nothing New To Learn In Chapter 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 A1. Possible Solutions

To access the link, solve the captcha.