News for hackers. Stuff that matters.
Re:Qualities of clean code by chimprich on Friday September 16, 2016 @12:12PM (#12515026)
I've used a lot of languages, both statically and dynamically typed, and found unit testing to be very useful in both.

The idea that unit tests are not very useful in complex systems is very controversial and goes against established best practice in software engineering, the advice of pretty much every authority in the field and empirical studies.

Only testing hard stuff is only half the battle. Unit tests also test basic assumptions and have other benefits like documenting intent. See /Code Complete/ for evidence for the need for multiple angles of testing.

Re:Qualities of clean code by RotsiserMho on Friday September 16, 2016 @01:15PM (#12515558)
+1 for documenting intent.