nature-of-code / The-Nature-of-Code-archive

The very first build system for The Nature of Code
http://natureofcode.com
913 stars 151 forks source link

3.10 Spring code switched subtraction #318

Closed edwardloveall closed 8 years ago

edwardloveall commented 11 years ago

In Section 3.10 the code examples do the calculation restLength - currentLength but the proper code (at least in the code repo and example 3.11) is the reverse currentLength - restLength.

Thanks so much for this book.

shiffman commented 10 years ago

fixed in new repo https://github.com/shiffman/The-Nature-of-Code, thanks for the catch!