Hacker News new | ask | show | jobs
by LtWorf 90 days ago
dataclasses can do validation too and are faster
1 comments

Dataclasses can skip validation, hence they are faster, when you can trust the inputs.