Once an object escapes, you have to assume that another class or thread may, maliciously or carelessly, misuse it. This is a compelling reason to use encapsulation: it makes it practical to analyze programs for correctness and harder to violate design constraints accidentally.
-Brian Goetz
Select a background
More quotes by Brian Goetz
Popular Authors
A curated listing of popular authors.