logoalt Hacker News

oconnor663 • yesterday at 5:28 PM • 1 reply • view on HN

If you deal mainly with small-to-medium size Python programs, which is probably the norm, that makes sense to me. But if you have a large Python application, or if you own a library API that might have a lot of callers, typecheckers catch sooo many mistakes.


Replies

ReflectedImage • today at 12:17 AM

Not really, I measured it.

Typing prevents 1 minor bug per developer per year reaching the testing environment.

It costs 2x development time to use. (With LLMs it's doubles token usage, very measurable)

It's not actually a sane trade-off.