Join Notes

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

Here is what makes unit tests maintainable: Test only publics and internals. Do not weaken encapsulation just to verify private and fileprivate properties or methods. Do not put code into production which is there only to support testing. Verify one thing per test. Reuse code. If tests contain lots of duplication, it’s time to introduce new abstractions. Create and share helper methods for initializations and verifications.

Real-World Unit Testing in Swift

dependency injection and mocking

Intellectual achievements are the result of thought consecrated to the search for knowledge, or for the beautiful and true in life and nature. Such achievements may be sometimes connected with vanity and ambition, but they are not the outcome of those characteristics; they are the natural outgrowth of long and arduous effort, and of pure and unselfish thoughts.

As a Man Thinketh

James Allen

Homo sapiens is just not built for satisfaction. Human happiness depends less on objective conditions and more on our own expectations.

21 Lessons for the 21st Century

Yuval Noah Harari

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