Hacker News new | ask | show | jobs
by pg_1234 1126 days ago
Regression tests.

Static typing still doesn't help for the more insidious issues - errors of value.

1 comments

I used to use dataclasses for value assertions, but have switched to use https://www.attrs.org/en/stable/. Its like the one tool you will need for 90% of the cases.