Re:Why Today's Python Developers Are Embracing Type Hints
by procaryote on Sunday September 28, 2025 @07:20AM
(#45403516)
Writing tests is harder work than writing the equvalent number of type hints though
[ Parent
| on HN ]
Re:Why Today's Python Developers Are Embracing Type Hints
by dirkc on Monday September 29, 2025 @03:06AM
(#45411063)
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.
Re:Why Today's Python Developers Are Embracing Type Hints
by procaryote on Tuesday September 30, 2025 @02:31AM
(#45422559)
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.
Re:Why Today's Python Developers Are Embracing Type Hints
by mixmastamyk on Monday September 29, 2025 @02:36PM
(#45417199)
Hints are not sufficient, you’ll need tests anyway. They somewhat overlap.