2026-09-21 23:05 UTC
@BRicker@fosstodon.org somebody said “type hints are free unit tests” and I feel like a lot of TDD is a substitute for that
I have to deal with the type of guy who gets mad about type hints and insists that they are busywork that impede his creativity and he knows what he’s doing but all his unit tests are “assert hasattr”
Replies (1)
-
@BRicker@fosstodon.org 2026-09-22 00:42
@flyingsaceur@ioc.exchange Sigh. Bad tests give testing a bad name. Clean-data assertions as pre- and post-conditions aren't just for tests . 🤷