News for hackers. Stuff that matters.
Re:AI Stole the Joy of Programming by hitchstory on Wednesday December 04, 2024 @11:03AM (#42318795)
Tests are usually soul crushing and boring for the same reason PHP was in 1999 - a complete lack of structure, tooling and separation of concerns made it tedious and difficult.

I find it interesting that when people describe to me how they use LLMs to write code it's either short throwaway scripts or to write the kind of code that would make me retch (e.g. tests stuffed full of horrible mocks, spaghetti boilerplate).

Re:AI Stole the Joy of Programming by soco on Wednesday December 04, 2024 @01:47PM (#42320593)
Bear with me here: what if that retch-inducing code works fine? It's generated by an AI, can be understood by an AI (presumably), does what it should, so why should it be palatable for a human? You're not in the loop anymore...
Re:AI Stole the Joy of Programming by hitchstory on Wednesday December 04, 2024 @01:52PM (#42320653)
If it remains perfectly bug free until the end of time then yes it's fine /s
Re:AI Stole the Joy of Programming by soco on Wednesday December 04, 2024 @02:04PM (#42320786)
And when a bug shows up (as they always do), some AI will fix it.