News for hackers. Stuff that matters.
Re:Testing Isn't Everything (2019) by pfdietz on Monday June 22, 2026 @11:18AM (#48631406)
Wouldn't that leading example of dynamic language code that calls a nonexistent function be perfectly handled by tests that covered that call? Yes, if your tests have poor coverage they won't test code that isn't covered. So don't do that if you're using a dynamic language. Lisp people have known this for decades.
Re:Testing Isn't Everything (2019) by dryarzeg on Monday June 22, 2026 @04:59PM (#48636112)
I guess that author mentions it explicitly:

> In dynamic languages like Ruby and Python tests are important for a different reason

> tests are important

Re:Testing Isn't Everything (2019) by pfdietz on Tuesday June 23, 2026 @05:56AM (#48642644)
Tests are important anyway; I think the point is that if you adequately test your code for more difficult bugs, you'll get coverage of simple compiler-detectable bugs for free.