Y
Hacker News
new
|
ask
|
show
|
jobs
by
procaryote
258 days ago
Writing tests is harder work than writing the equvalent number of type hints though
2 comments
dirkc
258 days ago
Type 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.
link
procaryote
257 days ago
People 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.
link
mixmastamyk
257 days ago
Hints are not sufficient, you’ll need tests anyway. They somewhat overlap.
link