Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mrj
20 days ago
|
parent
|
context
|
favorite
| on:
I'm switching to Python and actually liking it
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.
nijave
20 days ago
[–]
There's also dataclass in stdlib
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: