Missing the point of loose languages
Missing the point of loose languages
Posted Dec 27, 2021 8:26 UTC (Mon) by NAR (subscriber, #1313)In reply to: Missing the point of loose languages by rdeforest
Parent article: Wrangling the typing PEPs
Posted Dec 27, 2021 9:59 UTC (Mon)
by smurf (subscriber, #17840)
[Link]
A decent set of test cases is great for checking that the expected cases work as expected. The problem is that some [ft]ools insist on tests for each and every unexpected case, even if logically impossible to reach, while the real problems (i.e. those conditions you didn't even think of being remotely possible when you wrote the code) slip under the radar.
Missing the point of loose languages