Python's backbone is its dictionaries but, in some cases, these dictionary instances that objects use to store its attributes can take up too much memory. Luckily Python's fantastic data model provides a way to solve this by using tuples to store an object's instances variables: __slots__
.
My name is Douglas Anderson, and Python was my first and remains my favourite programming language. I was born and raised in Toronto, where I am lucky enough to be a developer at Wave. When I am not in front of a computer, I canoe camp in the summers and curl in the winters. My ubiquitous username is @hockeybuggy.