Comment on Why LLMs can't really build software
Feyd@programming.dev 1 week agoThe problem is that you don’t realize that writing code that is difficult to maintain is in fact not a sign of intelligence, or “power level”.
Comment on Why LLMs can't really build software
Feyd@programming.dev 1 week agoThe problem is that you don’t realize that writing code that is difficult to maintain is in fact not a sign of intelligence, or “power level”.
hisao@ani.social 1 week ago
It depends. If it’s difficult to maintain because it’s some terrible careless spaghetti written by person who didn’t care enough, then it’s definitely not a sign of intelligence or power level. But if it’s difficult to maintain because the rest of the team can’t wrap their head around type-level metaprogramming or edsl you came up with, then it’s a different case.
chunkystyles@sopuli.xyz 1 week ago
No. Both are hard to maintain. And in fact, I’d prefer the spaghetti. It can be untangled.
sugar_in_your_tea@sh.itjust.works 6 days ago
Exactly. Code should be self-explanatory, and anything fancy should be clearly commented.
The difference between a good and great software engineer is understanding the cost of fancy code, and when it’s worth it to pay that cost. A great software engineer practices restraint, preferring code that even the most junior of engineers can maintain. Solutions should be extensible without serious refactors, and should attain good performance through good high-level design instead of low-level optimizations.
I’m guessing the “rockstar” OP is talking about went deep into the weeds of metaprogramming and even they can’t explain how it works a few weeks later. We have that crap here too, and nobody likes it, especially the seniors, but it’s so ingrained in the code that nobody wants to risk introducing bugs by fixing it.
chunkystyles@sopuli.xyz 6 days ago
Hell, not even junior devs. I need to be able to come back to code months or years later and be able to figure it out. I can only remember so much.
JordanZ@lemmy.world 6 days ago
hisao@ani.social 6 days ago
I agree, and this is why I think code doesn’t need to be manually written by humans (unless it’s for training AI or providing it examples). It’s a great thing that AI evolves so fast in this area.