Hacker News new | ask | show | jobs
by mikecmpbll 4093 days ago
You could've also rewritten that dog-ugly Ruby code in Ruby, but an interesting look into Haskell none-the-less.
1 comments

I 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.