Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
procaryote
4 months ago
|
parent
|
context
|
favorite
| on:
Python developers are embracing type hints
Writing tests is harder work than writing the equvalent number of type hints though
dirkc
4 months ago
|
next
[–]
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.
procaryote
4 months ago
|
parent
|
next
[–]
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.
mixmastamyk
4 months ago
|
prev
[–]
Hints are not sufficient, you’ll need tests anyway. They somewhat overlap.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: