3
Designing Pythonic library APIs
(benhoyt.com)
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.
Welcome to the Python community on the programming.dev Lemmy instance!
Past
November 2023
October 2023
July 2023
August 2023
September 2023