Random Link ¯\_(ツ)_/¯ | ||
Mar 30, 2023 | » | Intro to Design Patterns
3 min; updated Mar 30, 2023
What Are Design Patterns? Arriving at designs that are specific to the problem at hand but general enough to address future problems and requirements is hard. New designers tend to be overwhelmed by the options available. Expert designers do not solve every problem from first principles; they reuse design patterns. I’ve also encountered the “you aren’t gonna need it” (YAGNI) school of thought that aims to minimize writing code that anticipates too far into the future, as such guesses usually don’t pan out.... |
Sep 28, 2021 | » | Observer
8 min; updated Feb 12, 2023
notes that , the primary source, glosses over nitty-gritties. e.g. the “message queue” server. Maybe reading through these will provide a larger perspective to design decisions made in Chromium regarding observers. Rant: some of willchan’s thoughts on WeakPtr, for those who care to read criticizes the observer pattern for murking dependency chains. Investigate more in this regard. Intent A one-to-many dependency between object so that when one object (subject) changes, all its dependents (observers) are notified and update automatically.... |
Oct 21, 1994 | » | Design Patterns: Elements of Reusable Object-Oriented Software
(2 items)
Intro to Design Patterns; Observer; |