Ch. 5 section on pattern matching was poorly explained imo
Ramalho says ch. 6 on object references is dry but I disagree! Just the other day I was wondering about the difference between == and is in Python
Whether it's necessary or not, I will find a way to use operators and partial functions
6/30/22: Iterators, Generators, and Context Managers (Chs. 14 and 15)
Iterators are the key to Python! Understanding how the distinction between iterators and iterables demystifies a lot. So many built in functions are simply iterators (e.g. range, open, zip, enumerate).
The coolest thing about iterators is their laziness (relatable). They give us the ability to work with (possibly infinite) streams of data either as-if they were concrete lists or just as necessary. The performance advantage is wild when we start talking about hundreds of thousands of data points.
Iterators can also form the building blocks of data pipelines through composition!
These talks on iterators were very useful:
The Power of JS Generators by Anjana Vakil -- Python and Javascript both have iterators/generators so this was kinda mindblowing. Anjana Vakil has done a lot of amazing JS talks (esp. on functional programming). Asynchronous generators are wild.
Monkruman's Reading Log
5/5/22: Data Class Builders, Object References, and Functions and First-Class Objects (Ch. 5, 6, and 7)
==
andis
in Python6/30/22: Iterators, Generators, and Context Managers (Chs. 14 and 15)
These talks on iterators were very useful: