Appendix A. Coding Tips

Coding is a type of writing. Like all types of writing, code has specific rules. For comparison, we’ll quickly mention some of the rules for English that you probably haven’t thought about in a while because they are second nature.

Some of the more invisible rules are writing from left to right and putting a space between each word. More overt rules are spelling conventions, capitalizing the names of people and places, and using punctuation at the end of sentences to provide emphasis! If we break one or more of these rules when writing an email to a friend, the message still gets through. For example, “hello ben. how r u today” communicates nearly as well as, “Hello, Ben. How are you today?” However, flexibility with ...

Get Make: Getting Started with p5.js now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.