| ▲ | D13Fd 10 days ago | |||||||||||||||||||||||||||||||||||||
If you wrote the code, then you’ll understand it and know why it is written the way you wrote it. If the AI writes the code, you can still understand the code, but you will never know why the code is written that way. The AI itself doesn’t know, beyond the fact that that’s how it is in the training data (and that’s true even if it could generate a plausible answer for why, if you asked it). | ||||||||||||||||||||||||||||||||||||||
| ▲ | jmcodes 10 days ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||
I don't agree entirely with this. I know why the LLM wrote the code that way. Because I told it to and _I_ know why I want the code that way. If people are letting the LLM decide how the code will be written then I think they're using them wrong and yes 100% they won't understand the code as well as if they had written it by hand. LLMs are just good pattern matchers and can spit out text faster than humans, so that's what I use them for mostly. Anything that requires actual brainpower and thinking is still my domain. I just type a lot less than I used to. | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ▲ | godelski 10 days ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||
Exactly! Thanks for summing it up. There needs to be some responsible entity that can discuss the decisions behind the code. Those decisions have tremendous business value[0] [0] I stress because it's not just about "good coding". Maybe in a startup it only matters that "things work". But if you're running a stable business you care if your machine might break down at any moment. You don't want the MVP. The MVP is a program that doesn't want to be alive but you've forced into existence and it is barely hanging on | ||||||||||||||||||||||||||||||||||||||