Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


There's also dataclass in stdlib




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: