Storing And Using Information
Lesson 3: Storing and Using Information
In Lesson 2, you saw some of the more common types and the operations and values associated with them. It's time to start learning how to use these types and values in your code.
In Lesson 2, you saw some of the more common types and the operations and values associated with them. It's time to start learning how to use these types and values in your code.
The values that expressions use are sometimes referred to as information or data. Programs need data to know what to do, and there are different ways to store the data, or values.
There are also different kinds of data.
Mutable and Immutable
Mutable means capable of changing. Think of a mutant — someone whose DNA code has changed, or mutated.
Waves along the shore are mutable, and change constantly.

When something is immutable, it cannot be changed. If you don't think about earthquakes, tidal waves, explosions or erosion, the cliff overlooking the beach is immutable.
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.