“A life is such a strange object, at one moment translucent, at another utterly opaque, an object I make with my own hands, an object imposed on me, an object for which the world provides the raw material and then steals it from me again, pulverized by events, scattered, broken, scored yet retaining its unity; how heavy it is and how inconsistent: this contradiction breeds many misunderstandings.”
“Immutable objects are simple. They can only be in one state, which is carefully controlled by the constructor. One of the most difficult elements of program design is reasoning about the possible states of complex objects. Reasoning about the state of immutable objects, on the other hand, is trivial. Immutable objects are also safer. Passing a mutable object to untrusted code, or otherwise publishing it where untrusted code could find it, is dangerous — the untrusted code might modify its state, or, worse, retain a reference to it and modify its state later from another thread. On the other hand, immutable objects cannot be subverted in this manner by malicious or buggy code, so they are safe to share and publish freely without the need to make defensive copies.”
“For me, life offers so many complexly appealing moments that two beautiful objects may be equally beautiful for different reasons and at different times. How can one choose?”
“Since science is essentially objective, involving the study of how things actually are, "materialism" would therefore seem to be its antithesis, since its starting point is the desire to impose upon the natural world a particular and limited way of looking at it.”
“No object, no event, no outcome or life circumstance can deliver real happiness to us. We have to make our own happiness—by working hard at activities that provide their own reward.15”
“Methods like this act as “factories” in that they take raw materials (such as row data, for example, orconfiguration information) and use them to produce objects. The term factory is applied to codedesigned to generate object instances.”