“It is far easier to design a class to be thread-safe than to retrofit it for thread safety later.”
“Accessing shared, mutable data requires using synchronization; one way to avoid this requirement is to not share. If data is only accessed from a single thread, no synchronization is needed. This technique, thread confinement, is one of the simplest ways to achieve thread safety. When an object is confined to a thread, such usage is automatically thread-safe even if the confined object itself is not.”
“Each event touching another; like threads that design in concert, creating the fabric that is life.”
“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.”
“If memory is the thread of personal identity, history is the thread of community identity.”
“He who holds me by a thread is not strong; the thread is strong.”