Designing Pythonic library APIs

https://sh.itjust.works/post/223216

Designing Pythonic library APIs - sh.itjust.works

Objects are just the poor man's closures. I really hate it when libraries like urllib impose a multi-class object nesting paradigm when a simple multi argument function would be better in every way
Yeah but sometimes you want something that has mutable state over time, and it’s easier to pack it into a self-contained thing.