4 ms·
Ostensibly, by writing lots and lots and lots of unit tests. In practice, however, no one has time to write or update unit tests. Which is bad, but understandab
by 10098 14y ago
Ostensibly, by writing lots and lots and lots of unit tests.
In practice, however, no one has time to write or update unit tests. Which is bad, but understandable, because circumstances can be pressing. In that case, the only fix for weak typing is praying that nothing blows up :-)
- Ralith 14y agoWhile I appreciate that your post is mostly jest, it's worth noting that a "fix" that places an immense amount of additional load on the programmer is not worthy of the title (in part due to the consequences you describe). And even then, even the best unit tests rarely cover every case.