April 2018
Beginner
456 pages
11h 20m
English
After reading lesson 25, you’ll be able to
Mutable data types are types of objects on which you can perform operations, such that the object’s value is modified; the modification is done in place, so to speak, so no copy of the object is made. There’s a need for data types that are mutable, especially when working with large amounts of data; it’s more efficient to modify data stored directly instead of copying it into a new object with every operation.
Instead of creating new objects, it’s sometimes useful to reuse an object and modify its value. This is especially true when you have an object that ...
Read now
Unlock full access