News for hackers. Stuff that matters.
Re:Yarn's Future – v2 and beyond by jakelazaroff on Thursday January 24, 2019 @05:27PM (#18993681)
My interpretation of your point was that unit tests are more valuable than static types, and I don't think that's necessarily true. They're both forms of testing, and it's important to recognize their strengths and weaknesses.

Static types won't help with your application logic, but they will (for example) ensure your function inputs and outputs are the correct types, help document your code and ensure consumers call your code correctly. Unit tests can only do the first one, and it's more verbose and brittle.

There are no comments on this comment yet.