rrees.me
Python: Preferring Named Tuples over Classes
One of the views that I decided to take in my recent Python teaching is that named tuples and functions are preferable to class-based data structures.Python's object-orientated (OO) code is sl…