Hacker News new | ask | show | jobs
by epgui 65 days ago
Anecdotally, I’ve found Claude-generated Haskell code to be almost as bad (hard to read) as Claude-generated python.

I have no doubt the haskell compiles… but when it comes from an LLM it reads like nonsensical code soup.

Claude-generated Clojure seems a lot better.

1 comments

I've had much better experiences with Haskell (well, mostly PureScript for now) than Python, but that might be because I am very hands-on with the design of the core types and abstractions I'm working with.

Having an effect system so that Claude is not tempted to throw in side-effects everywhere helps a lot too!

Yes, undoubtedly.

(For further context, I was comparing essentially vibe code across languages. Vibe-coded Clojure stood out as much less unpalatable than anything else I tried.)