News for hackers. Stuff that matters.
Re:Why Most Unit Testing Is Waste [pdf] by oblio on Tuesday October 31, 2017 @11:21AM (#15593870)
I think his point is that from the functional perspective I/O is a side effect, since you're mutating state. But for almost normal beings the I/O is the thing that actually matters, not the twiddling of bits in computer memory.
Re:Why Most Unit Testing Is Waste [pdf] by tome on Tuesday October 31, 2017 @12:18PM (#15594351)
Quite the opposite. In Haskell I/O is an explicit effect. In impure languages I/O is something that happens as a side effect of just calling a function.