Tom Harrison
Dec 29, 2023

--

I added a few inline comments, but wow, this is a really comprehensive and excellent reference. The secret to maintainable and fast python is truly knowing when to use the tools now available in the language, and the things you mention are absolutely right.

What's very important with the language, however, is that new versions, in particular 3.8, then 3.10 finally have features like Walrus operator and pattern matching -- Python is frequently getting huge language advances.

This makes it really important to ensure not only the core you write is frequently upgraded to the latest version, but that the libraries and frameworks you use are, as well. Fortunately, most changes are non-breaking ... but not all: upgrade minor-version by minor version and look for deprecation warnings in your logs. And the "What's New" docs are awesome, e.g https://docs.python.org/3.12/whatsnew/3.12.html

--

--

Tom Harrison

30 Years of Developing Software, 20 Years of Being a Parent, 10 Years of Being Old. (Effective: 2020)