Hacker News new | ask | show | jobs
by mrj 333 days ago
Most python written at a large scale uses types (TypedDict) and/or Pydantic for safety and never plain dict objects. That's a code smell in any language, we can stuff data into `map[string]interface{}` all day long and cause problems downstream.
1 comments

There's also dataclass in stdlib