News for hackers. Stuff that matters.
Re:Implement with Types, Not Your Brain by munchbunny on Tuesday June 25, 2019 @07:59PM (#20280555)
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.
Re:Implement with Types, Not Your Brain by seanmcdirmid on Tuesday June 25, 2019 @11:06PM (#20281533)
A 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.