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