
As an Amazon Associate, Spinn Radio earns from qualifying purchases.
25 nooby Python habits you need to ditch
Intro
Every PROOF you've seen that .999... = 1 is WRONG
Python dataclasses will save you HOURS, also featuring attrs
any use of reinterpret cast
Python's creator wishes this feature never existed
casting away const
Python's sharpest corner is ... plus equals? (+=)
The Single Most Useful Decorator in Python
not using structured bindings
Restrict explanation
The Fastest Way to Loop in Python - An Unfortunate Truth
You should put this in all your Python scripts
Zero inverse
str/int: Controversial breaking change added to Python
Localization
31 nooby C++ habits you need to ditch
Type params
You should put this in all your Python scripts | if __name__ == '__main__': ...
forgetting to mark destructor virtual
Vector add example
basicConfig
Faster CPython
modifying a container while looping over it
not knowing about default vs value initialization
returning std move of a local
For loops are redundant
thinking evaluation order is left to right
Efficient Exponentiation
Better error locations
Immortal objects
super, Python's most misunderstood feature.
Actually, you CAN divide by zero.
thinking std move moves something
not using unique ptr and shared ptr
thinking raw pointers are bad
4 Only providing io functions taking a path
Comprehension inlining
any manual resource management
logging is the standard
The real purpose of Python's match statement, feat. CSTs
Exception Groups
Unlocking your CPU cores in Python (multiprocessing)
Correctness fib example
The ONLY C keyword with no C++ equivalent
Python lists remember what you did to them
dictConfig
the complete logging picture
Bye bye setuptools
Python Generators
Tune into 50,000+ live radio stations from every corner of the world on an interactive 3D globe with audio-reactive visualizations.