I want to believe this, I really do. The article does leave out a few points that I’m not sure how to square in practice, though:
1. While Haskell can eliminate entire classes of errors through the capabilities listed, it also introduces its own rough edges, especially around memory and performance of lazy evaluation. (And lazy evaluation is a really powerful expressive tool!) The debugging experience there is pretty rough, but maybe AI can go through the data more effectively than I could as a hobby Haskeller?
2. Doesn’t Lean share a lot of these characteristics? And yet the initial RH proof was still gigantic and incomprehensible. The reduced versions may be still incomprehensible. So like the article says, it’s not a guaranteed path to maintainable code… but it still remains to be seen whether it is a viable path at all (in any language).
I was hoping to try Haskell out on some side projects with LLMs and see how it feels, but haven’t done it yet. (So take my theoretical complaints with the opposite grain of salt as a post by a Haskell consulting company, perhaps.)
I want to believe this, I really do. The article does leave out a few points that I’m not sure how to square in practice, though:
1. While Haskell can eliminate entire classes of errors through the capabilities listed, it also introduces its own rough edges, especially around memory and performance of lazy evaluation. (And lazy evaluation is a really powerful expressive tool!) The debugging experience there is pretty rough, but maybe AI can go through the data more effectively than I could as a hobby Haskeller?
2. Doesn’t Lean share a lot of these characteristics? And yet the initial RH proof was still gigantic and incomprehensible. The reduced versions may be still incomprehensible. So like the article says, it’s not a guaranteed path to maintainable code… but it still remains to be seen whether it is a viable path at all (in any language).
I was hoping to try Haskell out on some side projects with LLMs and see how it feels, but haven’t done it yet. (So take my theoretical complaints with the opposite grain of salt as a post by a Haskell consulting company, perhaps.)