Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
maleldil
on June 30, 2025
|
parent
|
context
|
favorite
| on:
Use keyword-only arguments in Python dataclasses
I don't see a point in using them in new code when I could just use a dataclass (or Pydantic in certain contexts). I've only found them useful when interfacing with older code that uses dicts for structured data.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: