Skip to Main Content
Learning Processing, 2nd Edition
book

Learning Processing, 2nd Edition

by Daniel Shiffman
September 2015
Beginner content levelBeginner
564 pages
13h 28m
English
Morgan Kaufmann
Content preview from Learning Processing, 2nd Edition
11

Debugging

The difference between the right word and the almost-right word is the difference between lightning and a lightning bug.

—Mark Twain

L’appétit vient en mangeant.”

—The French

Bugs happen.

Five minutes ago, your code was working perfectly and you swear, all you did was change the color of some object! But now, when the spaceship hits the asteroid, it doesn’t spin any more. But it was totally spinning five minutes ago! And your friend agrees: “Yeah, I saw it spin. That was cool.” The rotate() function is there. What happened? It should work. This makes no sense at all! The computer is probably broken. Yeah. Yeah. It is definitely the computer’s fault.

No matter how much time you spend studying computer science, reading programming books, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Make: Getting Started with Processing, 2nd Edition

Make: Getting Started with Processing, 2nd Edition

Casey Reas, Ben Fry

Publisher Resources

ISBN: 9780123947925