Re:PHP solves problems. Oh, and you can program with it too
by 10098 on Friday June 29, 2012 @06:50PM
(#4179542)
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 :-)
[ Parent
| on HN ]
Re:PHP solves problems. Oh, and you can program with it too
by Ralith on Friday June 29, 2012 @06:55PM
(#4179570)
While 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.