Join Notes
A batch of the best highlights from what Tristan's read, daily.
The code that uses the factory method (often called the *client* code) doesn’t see a difference between the actual products returned by various subclasses. The client treats all the products as abstract `Transport`. The client knows that all transport objects are supposed to have the `deliver` method, but exactly how it works isn’t important to the client.
Factory Method
refactoring.guru
Prophets, poets and philosophers realised thousands of years ago that being satisfied with what you already have is far more important than getting more of what you want.
Sapiens
Yuval Noah Harari
Perhaps, then, bird/rifle/dagger/bullet? You can’t possibly remove one and have a group, a remote villager insisted. The bullet must be loaded in the rifle to kill the bird, and “then you have to cut the bird up with the dagger, since there’s no other way to do it.” These were just the introductions explaining the grouping task, not the actual questions. No amount of cajoling, explanation, or examples could get remote villagers to use reasoning based on any concept that was not a concrete part of their daily lives.
...catch up on these, and many more highlights