Definition A decorator pattern attaches additional responsibilities to an object dynamically (at runtime). Decorators provide a flexible alternative to subclassing for extending functionalities. S...
Definition The observer pattern defines a one-to-many dependency between objects. So that when it (the observable) changes its state, all of its dependencies are notified. Scenario Instead of maki...
Definition The strategy pattern defines a families of algorithms and lets the clients choose from it and can change independently. Scenario Inheritance is not for code reuse. Inheritance shares co...
Reading Date: Dec 23, 2022 ~ Feb 8, 2023 Order out of Chaos When dealing with complicate physical systems, we will make assumptions and consider ideal situations first, and then start adding f...
Reading Date: Dec 12, 2022 ~ Dec 18, 2022 Contradictions and Our Attempt to Combining Them General relativity and quantum mechanics cannot both be right, at least in their current forms, becau...
Reading Date: Sep 29, 2022 ~ Nov 9, 2022 A present that is common throughout the whole universe does not exist Physics describes how things evolve in their own time and how these times evolve ...
A new version of content is available.