Quote 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...

Markdown supported · ⌘↵ to post
Pavan Ch
Good info!