Join Notes

A batch of the best highlights from what Tristan's read, .

In OOP, the contrast between inheritance and composition is often called “is-a vs has-a”. A surgeon is a doctor, so it makes sense to inherit Surgeon from Doctor. A surgeon has a scalpel, which means the Surgeon class could have a property called scalpel, but it would be strange if Surgeon inherited from Knife.

Chapter 7: Patterns - Pro Swift

Paul Hudson

All motion is periodic and evolutionary. All motion is motion in equilibrium. No other motion is possible.

The Universal One

Walter Russell

The exceptions thrown by a class are part of its interface; classes with lots of exceptions have complex interfaces, and they are shallower than classes with fewer exceptions.

A Philosophy of Software Design

John Ousterhout

...catch up on these, and many more highlights