3 ms·
Writing tests is harder work than writing the equvalent number of type hints though
by procaryote 1y ago
Writing tests is harder work than writing the equvalent number of type hints though
- dirkc 1y agoType hints and/or stronger typing in other languages are not good substitutes for testing. I sometimes worry that teams with strong preferences for strong typing have a false sense of security.
- procaryote 1y agoPeople write tests in statically typed languages too, it's just that there's a whole class of bugs that you don't have to test for.
- mixmastamyk 1y agoHints are not sufficient, you’ll need tests anyway. They somewhat overlap.