Learn Ruby the Hard Way
Mixed media product
Antal sidor
Shaw, Zed
233 x 180 x 18 mm
570 g
Antal komponenter
Paperback (1), CD-ROM (1)
Learn Ruby the Hard Way

Learn Ruby the Hard Way

A Simple and Idiomatic Introduction to the Imaginative World Of Computational Thinking with Code

Mixed media product Engelska, 2014-12-16
  • Finns i lager! Skickas inom 1-3 vardagar.
  • Gratis frakt inom Sverige över 159 kr för privatpersoner.
Kan levereras innan julafton!
You Will Learn Ruby!


Zed Shaw has perfected the worlds best system for learning Ruby. Follow it and you will succeedjust like the hundreds of thousands of beginners Zed has taught to date! You bring the discipline, commitment, and persistence; the author supplies everything else.


In Learn Ruby the Hard Way, Third Edition, youll learn Ruby by working through 52 brilliantly crafted exercises. Read them. Type their code precisely. (No copying and pasting!) Fix your mistakes. Watch the programs run. As you do, youll learn how software works; what good programs look like; how to read, write, and think about code; and how to find and fix your mistakes using tricks professional programmers use. Most importantly, youll learn the following, which you need to start writing excellent Ruby software of your own:


Installing your Ruby environment

Organizing and writing code

Ruby symbols and keywords

Basic mathematics

Variables and printing

Strings and text

Interacting with users

Working with files

Using and creating functions

Looping and logic

Arrays and elements


Program design

Object-oriented programming

Inheritance and composition

Modules, classes, and objects

Project skeleton directories

Debugging and automated testing

Advanced user input

Text processing

Basic game development

Basic web development


Itll Be Hard At First. But Soon, Youll Just Get ItAnd That Will Feel Great!

This tutorial will reward you for every minute you put into it. Soon, youll know one of the worlds most powerful, popular programming languages. Youll be a Ruby programmer.


Watch Zed, too! The accompanying DVD contains 5+ hours of passionate, powerful teaching: a complete Ruby video course!


Zed Shaw is an avid guitar player, programmer, and writer whose books teach people all over the world how to write software. His book Learn Python the Hard Way has been read by millions of people around the world. His software has been used by many large and small companies. His essays are often quoted and read by members of many geek communities. He is an entertaining and lively writer, who is sure to keep you laughing and make you think.
Visa hela texten

Passar bra ihop

  1. Learn Ruby the Hard Way
  2. +
  3. Discovering Statistics Using IBM SPSS Statistics

De som köpt den här boken har ofta också köpt Discovering Statistics Using IBM SPSS Statistics av Andy Field (häftad).

Köp båda 2 för 843 kr


Fler böcker av Zed A Shaw

Övrig information

Zed A. Shaw is the author of the popular online books Learn Python The Hard Way, Learn Ruby The Hard Way, and Learn C The Hard Way. He is also the creator of several open source software projects like Mongrel, Lamson, Mongrel2, and has been programming and writing for nearly 20 years.


Preface 1

Acknowledgments 1


The Hard Way Is Easier 2

Reading and Writing 2

Attention to Detail 2

Spotting Differences 3

Do Not Copy-Paste 3

Using the Included Videos 3

A Note on Practice and Persistence 3

A Warning for the Smarties 4


Exercise 0: The Setup 6

Mac OS X 6

Windows 7

Linux 8

Finding Things on the Internet 10

Warnings for Beginners 10


Exercise 1: A Good First Program 12

What You Should See 14

Study Drills 16

Common Student Questions 17


Exercise 2: Comments and Pound Characters 18

What You Should See 18

Study Drills 18

Common Student Questions 19


Exercise 3: Numbers and Math 20

What You Should See 21

Study Drills 21

Common Student Questions 22


Exercise 4: Variables and Names 24

What You Should See 25

Study Drills 25

Common Student Questions 25


Exercise 5: More Variables and Printing 28

What You Should See 28

Study Drills 29

Common Student Questions 29


Exercise 6: Strings and Text 30

What You Should See 31

Study Drills 31

Common Student Question 31


Exercise 7: More Printing 32

What You Should See 32

Study Drills 33

Common Student Questions 33


Exercise 8: Printing, Printing 34

What You Should See 34

Study Drills 35

Common Student Questions 35


Exercise 9: Printing, Printing, Printing 36

What You Should See 36

Study Drills 37

Common Student Questions 37


Exercise 10: What Was That? 38

What You Should See 39

Escape Sequences 39

Study Drills 40

Common Student Questions 40


Exercise 11: Asking Questions 42

What You Should See 42

Study Drills 43

Common Student Question 43


Exercise 12: Prompting People for Numbers 44

What You Should See 44

Study Drills 44


Exercise 13: Parameters, Unpacking, Variables 46

What You Should See 46

Study Drills 47

Common Student Questions 47


Exercise 14: Prompting and Passing 50

What You Should See 50

Study Drills 51

Common Student Questions 51


Exercise 15: Reading Files 52

What You Should See 53

Study Drills 53

Common ...