News for hackers. Stuff that matters.
Re:Canaries in the Coal Mine? Recent Employment Effects of A... by yakshaving_jgt on Thursday August 28, 2025 @02:02AM (#45048935)
I'm stuck in my ways with vim/tmux/ghci etc, so I'm not using some AI IDE. I write stuff into ChatGPT and use the output, copying manually, or writing it myself with inspiration from what I get. I feed it a fair bit of context (like, say, a production module with a load of database queries, and the associated spec module) so that it copies the structure and patterns that I've established.

The quality of the Haskell code is about as good as I would have written myself, though I think it falls for primitive obsession more than I would. Still, I can add those abstractions myself after the fact.

Maybe one of the reasons I'm getting good results is because the LLM effectively has to argue with GHC, and GHC always wins here.

I've found that it's a superpower also for finding logic bugs that I've missed, and for writing SQL queries (which I was never that good at).

Re:Canaries in the Coal Mine? Recent Employment Effects of A... by meowface on Thursday August 28, 2025 @03:16AM (#45049367)
Try Claude Code.
Re:Canaries in the Coal Mine? Recent Employment Effects of A... by yakshaving_jgt on Thursday August 28, 2025 @03:37AM (#45049496)
Why?
Re:Canaries in the Coal Mine? Recent Employment Effects of A... by tommyengstrom on Thursday August 28, 2025 @04:22AM (#45049773)
I use similar style as you. neovim with ghci inside, plus hls, and ghciwatch.

Claude code is nice because it is just a separate cli tool that doesn't force you to change editor etc. It can also research things for you, make plans that you can iterate before letting it loose, etc.

Claude is also better than chatgpt at writing haskell in my experience.

Re:Canaries in the Coal Mine? Recent Employment Effects of A... by wahnfrieden on Thursday August 28, 2025 @02:31PM (#45055409)
Codex CLI with gpt-5-thinking on "high" reasoning is also good to try as an alternative now
Re:Canaries in the Coal Mine? Recent Employment Effects of A... by black_knight on Thursday August 28, 2025 @10:05AM (#45052321)
“GHC always wins” is a nice sentiment. Another similar thing happens when I have written QuickCheck tests and get the LLM to make the implementation conform. Quickcheck almost always wins that fight as well.