Don't let dicts spoil your code

from blog Roman Imankulov, | ↗ original
Photo by Martin Sanchez How often do your simple prototypes or ad-hoc scripts turn into fully-fledged applications? The simplicity of organic code growth has a flip side: it becomes too hard to maintain. The proliferation of dicts as primary data structures is a clear signal of tech debt in your code. Fortunately, modern Python provides many...