Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I'm confused how people can advocate TDD and not like static types too seeing as static typing gives you robust automated tests for the minimal cost of adding type annotations every now and then.

For me personally as a TDD person, I just don't care about testing types. I test values. The type-checker just doesn't do much that I actually care about (better in-editor support is nice though). I know it's not a fashionable answer these days, but for me it's true. I don't see the pay-off in doing both, and types alone are not enough.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: