4 ms·
This is something that I struggle with for AI programming. I actually like writing the code myself. Like how someone might enjoy knitting or model building or
by SirMaster 2y ago
This is something that I struggle with for AI programming. I actually like writing the code myself. Like how someone might enjoy knitting or model building or painting or some other "tedious" activity. Using AI to generate my code just takes all the fun out of it for me.
- deadbabe 2y agoI don’t enjoy writing unit tests but fortunately this is one task LLMs seem to be very good at and isn’t high stakes, they can exhaustively create test cases for all kinds of conditions, and can torture test your code without mercy. This is the only true improvement LLMs have made to my enjoyment.
- rileymichael 2y agoexcept they are not good at it. the unit tests you'll have written will be filled with (slow) mocks with tautological assertions, create no reusable test fixtures, etc.
- chamomeal 2y agoSounds just like human-written test suites lol
- rileymichael 2y agoof course — that’s what they’re trained on after all. most treat tests as a burden / afterthought, propagating the same issues from codebase to codebase, never improving. i wouldn’t consider those good either.
- layer8 2y agoSaying that writing unit tests isn’t high stakes is a dubious statement. The very purpose of unit tests is to make sure that programming errors are caught that may very well be high stakes.
- falcor84 2y agoHowever high the stakes are, a bug in test code is not as much of an issue as a bug in the production code.
- layer8 2y agoIt is as much of an issue if it prevents a bug in production code from being detected before it occurs in production. Which is the very purpose of unit tests.
- optimalsolver 2y agoWhat? Bugs in the test code are what lead to bugs in production code.
- falcor84 2y agoThat is exactly it. A bug in test code may or may not lead to a bug in production code, while a bug in production code IS a bug in production code
- stephantul 2y agoThis so much. I love coding. I might be the person that still paints stuff by hand long after image generation has made actual paintings superfluous, but it is what it is.
- simonw 2y agoOne analogy that works for me is to consider mural painting. Artists who create huge building-size murals are responsible for the design of the painting itself, but usually work with a team of artist to get up on the ladders and help apply the image to the building. The way I use LLMs feels like that to me: I'm designing the software to quite a fine level, then having the LLMs help out with some of the typing of the code: https://simonwillison.net/2025/Mar/11/using-llms-for-code/#tell-them-exactly-what-to-do https://simonwillison.net/2025/Mar/11/using-llms-for-code/#t...
- mikethemerry 2y agoThere were seamstresses who enjoyed sewing prior to the industrial revolution, and continued doing so afterwards. We still have people with those skills now, but it's often in very different contexts. But the ability to create a completely new garment industry was possible because of the scale that was then possible. Similarly for most artesanal crafts. The industry will change drastically, but you can still enjoy your individual pleasures. And there will be value in unique, one-off and very different pieces that only an artesan can create (though there will now be a vast number of "unique" screen printed tees on the market as well)