shiffman / LearningProcessing

A repo for examples from the book Learning Processing
http://learningprocessing.com
606 stars 276 forks source link

Improve use of comments in exercise 6-4 #215

Closed multimentha closed 6 years ago

multimentha commented 6 years ago

Both sketches start out wrapped by a multi line comment, so they are disabled by default. Removing the multi line comment around a sketch will enable it.

The line where the student is supposed to type the answer (indicated by underscores ____) is now a single line comment. The underscores will thus no longer prevent either of the sketches from running by producing an unexpected token error.

multimentha commented 6 years ago

The previous comment was working, but this is cleaner and also closer to the book (page 106 in 2nd edition).

shiffman commented 6 years ago

Thanks!