Skip to content

Learn to Program

Best in textbook rentals since 2012!

ISBN-10: 0976694042

ISBN-13: 9780976694045

Edition: 2005

Authors: Chris Pine

List price: $19.95
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

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 Pine takes a thorough, but light-hearted approach that teaches you how to program with a minimum of fuss or bother. Starting with small, simple one-line programs to calculate your age in seconds, you'll see how to have your webpage send you email, to shuffle your music more intelligently, to rename your photos from your digital camera, and more. You'll learn the same technology used to drive modern dynamic websites and large, professional applications.
Customers also bought

Book details

List price: $19.95
Copyright year: 2005
Publisher: Pragmatic Programmers, LLC, The
Publication date: 1/23/2006
Binding: Paperback
Pages: 176
Size: 7.25" wide x 8.50" long x 0.50" tall
Weight: 0.792
Language: English

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.

Introduction
What Is Programming?
Programming Languages
The Art of Programming
Getting Started
Windows
Mac OS X
Linux
Numbers
Introduction to puts
Integer and Float
Simple Arithmetic
A Few Things to Try
Letters
String Arithmetic
12 vs. '12'
Problems
Variables and Assignment
Mixing It Up
Conversions
Another Look at puts
The Methods gets and chomp
A Few Things to Try
Mind Your Variables
More about Methods
Fancy String Methods
A Few Things to Try
Higher Math
More Arithmetic
Random Numbers
The Math Object
Flow Control
Comparison Methods
Branching
Looping
A Little Bit of Logic
A Few Things to Try
Arrays and Iterators
The Method each
More Array Methods
A Few Things to Try
Writing Your Own Methods
Method Parameters
Local Variables
Return Values
A Few Things to Try
There's Nothing New to Learn in Chapter 10
Recursion
Rite of Passage: Sorting
A Few Things to Try
One More Example
A Few More Things to Try
Reading and Writing, Saving and Loading, Yin and...
Doing Something
The Thing about Computers...
Saving and Loading for Grown-ups
YAML
Renaming Your Photos
A Few Things to Try
New Classes of Objects
The Time Class
A Few Things to Try
The Hash Class
Ranges
Stringy Superpowers
A Few More Things to Try
Classes and the Class Class
Creating New Classes, Changing Existing Ones
A Few Things to Try
Creating Classes
Instance Variables
A Few More Things to Try
Blocks and Procs
Methods That Take Procs
Methods That Return Procs
Passing Blocks (Not Procs) into Methods
A Few Things to Try
Beyond This Fine Book
irb: Interactive Ruby
The PickAxe: Programming Ruby
Ruby-Talk: the Ruby Mailing List
Tim Toady
The End