3 ms·
Fair enough, I just disagree with the premise that heavily relying on the type system actually lets you think less hard about how to implement your code. In my
by munchbunny 7y ago
Fair enough, I just disagree with the premise that heavily relying on the type system actually lets you think less hard about how to implement your code. In my experience, defining the types you'll use at module boundaries is the actual hardest part. The stuff in the middle is usually straightforward until you realize you need sub-modules, at which point you're defining module boundary types again.
- seanmcdirmid 7y agoA good type is like a heads up display about where you are in your implementation. Haskell types are often far away from being that, however.