Re:Most Unit Testing Is Waste (2014) [pdf]
by maccard on Saturday June 29, 2019 @04:29AM
(#20311459)
I think the point is that if that was written in JS you would have a test to ensure your method behaves correctly with characters passed in, or strings, or just nil(/nul?) Whereas in Java et Al, you don't need any of those tests, you just make your parameter some sort of numeric and that just isn't a problem any more.
[ Parent
| on HN ]
There are no comments on this comment yet.