News for hackers. Stuff that matters.
Re:Why Most Unit Testing is Waste (2014) [pdf] by chrismorgan on Monday May 30, 2016 @12:57AM (#11799634)
Huh. Here was me thinking that was what static type systems were about. ;-)
Re:Why Most Unit Testing is Waste (2014) [pdf] by BMorearty on Monday May 30, 2016 @01:33AM (#11799737)
Static typing does not allow you to refactor code with confidence that you didn't break the application logic. Only automated tests can do that, regardless of type system.
Re:Why Most Unit Testing is Waste (2014) [pdf] by chrismorgan on Monday May 30, 2016 @01:42AM (#11799765)
Sure. But an awful lot of failures in refactoring in dynamically typed languages would be avoided by a static type system.

As it happens, I am a Rust fanboy with all that entails, so I (like everyone else in such discussions) am clearly biased.

My point was in jest, as the “;-)” (because HN simply discarded a U+1F609) indicated.

Re:Why Most Unit Testing is Waste (2014) [pdf] by daveguy on Monday May 30, 2016 @01:17AM (#11799691)
static type systems != unit tests
Re:Why Most Unit Testing is Waste (2014) [pdf] by crdoconnor on Monday May 30, 2016 @05:13AM (#11800393)
That's what strong type systems are about. A strong explicit dynamic type system with appropriate tests can track down bugs more easily than a statically typed weak type system.