6.8
Lecture 22: Field Assignment (Mutation)
Read these notes from a similar course at Northeastern University.
A few notes to add to what’s on that page:
A few of the subsections mention “Racket” which is a programming language used in other introductory classes at Northeastern. You’re not expected to know anything about it, and you don’t need to understand it to get the point of the section.
In the last section, when talking about side effects, we have seen a method with side effects – System.out.println. For the Do Now! question in 17.8, you can think of System.out.println instead of the big-bang function they mention.