35,99 €
inkl. MwSt.
Versandkostenfrei*
Versandfertig in über 4 Wochen
  • Broschiertes Buch

Master Ruby and become a programmer -- even if you never thought you could! This breakthrough book and CD can help practically anyone get started in programming. It's called "The Hard Way," but it's really quite simple. What's "hard" is this: it requires discipline, practice, and persistence.
Zed A. Shaw teaches Ruby through a series of brilliantly-crafted exercises -- all formatted consistently, and none longer than two pages (including "extra credit"). Just read them, type in their sample code precisely (no copy-and-paste!), and make the programs run. As you read, type, fix your mistakes,…mehr

Produktbeschreibung
Master Ruby and become a programmer -- even if you never thought you could! This breakthrough book and CD can help practically anyone get started in programming. It's called "The Hard Way," but it's really quite simple. What's "hard" is this: it requires discipline, practice, and persistence.

Zed A. Shaw teaches Ruby through a series of brilliantly-crafted exercises -- all formatted consistently, and none longer than two pages (including "extra credit"). Just read them, type in their sample code precisely (no copy-and-paste!), and make the programs run. As you read, type, fix your mistakes, and watch the results, you'll learn how software works, how programming works, what good programs look like, and how to read, write, and see code. You'll learn all you need to know about Ruby logic, input/output, variables, and functions -- and, by the time you're done, you'll be building complete web applications. Above all, you'll learn the attention to detail that is indispensable to successful programming.

At first, yes, it can be difficult. But it gets easier. And Shaw offers plenty of extra guidance and insight through 5+ full hours of teaching video on the accompanying CD. As Shaw's thousands of online fans will attest, the moment will come when you just "get it" -- and that moment feels great. Nothing important comes without hard work and focus. But, with this package, if you bring those qualities, you will master Ruby… and you will reap the very real rewards that go with that!

Product Description
You Will Learn Ruby!

Zed Shaw has perfected the world’s best system for learning Ruby. Follow it and you will succeed–just 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, you’ll 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, you’ll 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, you’ll 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

• Hashmaps

• 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

It’ll Be Hard At First. But Soon, You’ll Just Get It–And That Will Feel Great!

This tutorial will reward you for every minute you put into it. Soon, you’ll know one of the world’s most powerful, popular programming languages. You’ll 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.

Features + Benefits

A disciplined, practice-driven training method that works, from top blogger and outstanding teacher Zed Shaw

Moves from the absolute basics through functions, files, variables, lists, objects -- all the way to building a real web-based game

CD contains 5+ hours of teaching video

Refined through Shaw's years of teaching online, where he attracts thousands of visitors per day

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 Student Questions 54

Exercise 16: Reading and Writing Files 56

What You Should See 57

Study Drills 57

Common Student Questions 58

Exercise 17: More Files 60

What You Should See 60

Study Drills 61

Common Student Questions 61

Exercise 18: Names, Variables, Code, Functions 62

What You Should See 63

Study Drills 64

Common Student Questions 65

Exercise 19: Functions and Variables 66

What You Should See 67

Study Drills 67

Common Student Questions 67

Exercise 20: Functions and Files 70

What You Should See 71

Study Drills 71

Common Student Questions 71

Exercise 21: Functions Can Return Something 74

What You Should See 75

Study Drills 75

Common Student Questions 76

Exercise 22: What Do You Know So Far? 78

What You Are Learning 78

Exercise 23: Read Some Code 80

Exercise 24: More Practice 82

What You Should See 83

Study Drills 83

Common Student Questions 83

Exercise 25: Even More Practice 84

What You Should See 85

Study Drills 87

Common Student Questions 87

Exercise 26: Congratulations, Take a Test! 88

Common Student Questions 88

Exercise 27: Memorizing Logic 90

The Truth Terms 90

The Truth Tables 91

Common Student Question 92

Exercise 28: Boolean Practice 94

What You Should See 96

Study Drills 96

Common Student Questions 96

Exercise 29: What If 98

What You Should See 99

Study Drills 99

Common Student Question 99

Exercise 30: Else and If 100

What You Should See 101

Study Drills 101

Common Student Question 101

Exercise 31: Making Decisions 102

What You Should See 103

Study Drills 103

Common Student Questions 103

Exercise 32: Loops and Arrays 106

What You Should See 108

Study Drills 108

Common Student Questions 108

Exercise 33: While Loops 110

What You Should See 111

Study Drills 112

Common Student Questions 112

Exercise 34: Accessing Elements of Arrays 114

Study Drills 115

Exercise 35: Branches and Functions 116

What You Should See 118

Study Drills 118

Common Student Questions 118

Exercise 36: Designing and Debugging 120

Rules for If-Statements 120

Rules for Loops 120

Tips for Debugging 121

Homework 121

Exercise 37: Symbol Review 122

Keywords 122

Data Types 124

String Escape Sequences 124

Operators 125

Reading Code 126

Study Drills 126

Common Student Question 127

Exercise 38: Doing Things to Arrays 128

What You Should See 129

What Arrays Can Do 129

When to Use Arrays 130

Study Drills 131

Common Student Questions 131

Exercise 39: Hashes, Oh Lovely Hashes 132

A Hash Example 133

What You Should See 135

What Hashes Can Do 136

Making Your Own Hash Module 136

The Code Description 140

Three Levels of Arrays 142

What You Should See (Again) 142

When to Use Hashes or Arrays 143

Study Drills 143

Common Student Questions 144

Exercise 40: Modules, Classes, and Objects 146

Modules Are Like Hashes 146

What You Should See 151

Study Drills 151

Common Student Question 151

Exercise 41: Learning to Speak Object Oriented 152

Word Drills 152

Phrase Drills 152

Combined Drills 153

A Reading Test 153

Practice English to Code 156

Reading More Code 156

Common Student Questions 156

Exercise 42: Is-A, Has-A, Objects, and Classes 158

How This Looks in Code 159

Study Drills 161

Common Student Questions 161

Exercise 43: Basic Object-Oriented Analysis and Design 164
This breakthrough book and CD can help practically anyone get started in programming. It's called "The Hard Way," but it's really quite simple. What's "hard" is this: it requires discipline, practice, and persistence. Through a series of brilliantly-crafted exercises, Zed A. Shaw teaches the reader to type sample code, fix mistakes, see the results, and learn how software and programs work. Readers learn to read, write and see code, and learn all they need to know about Ruby logic, input/output, variables, and functions.

Hinweis: Dieser Artikel kann nur an eine deutsche Lieferadresse ausgeliefert werden.
Autorenporträt
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.