April 2017
Intermediate to advanced
316 pages
9h 33m
English
A typical value type has no implicit dependencies on the behavior of any external system. Therefore, a value type is isolated. It interacts only with its owner and it is easy to understand how it interacts in comparison to a reference type's interactions with a multiple number of owners.
If we access a reference to a mutable instance, we have an implicit dependency on all its other owners and they could change the instance at any time without notifying us.
Read now
Unlock full access