3 ms·
You could've also rewritten that dog-ugly Ruby code in Ruby, but an interesting look into Haskell none-the-less.
by mikecmpbll 11y ago
You could've also rewritten that dog-ugly Ruby code in Ruby, but an interesting look into Haskell none-the-less.
- fractalsea 11y agoI don't deny that the test could be written in much the same way in Ruby too, the key point of the post was that in Haskell you get flexibility comparable to a highly dynamic language, while also getting a lot safety guarantees. As for the previous tests, they probably a product of many small changes rather than design. There was a reason we were re-writing them.