Comment by flanked-evergl

3 months ago

As someone who has been writing python for years the worst mistake I have ever seen people make is not add type hints and not using a type checker.

Also not creating custom, expressive Pydantic types and using nested dicts in places. Nested dicts suck, you never know what you're getting, and it's well worth the time converting them to classes.