Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cranium
on Oct 9, 2024
|
parent
|
context
|
favorite
| on:
Don't let dicts spoil your code
Python dataclasses are a good start for internal use. They are just a bit of a pain to serialize/deserialize natively. When it comes to that, I prefer to use Pydantic objects and have all the goodies, at the cost of some complexity.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: