4 ms·
If a junior dev writes truly head-scratching code, you could ping that person and ask why they wrote this line a certain way, as opposed to a more straight-forw
by rakejake 5y ago
If a junior dev writes truly head-scratching code, you could ping that person and ask why they wrote this line a certain way, as opposed to a more straight-forward way. Correct me if I'm wrong but you can't ask an ML model to do that (yet).
- kgeist 5y agoTrue. But is it really important "why"? I think what's more important is whether we can correct AI's output in a way that makes it learn to avoid writing similar head-scratching code in the future.
- rakejake 5y agoUnless the AI can fix the bug itself, a human is going to have to explore the AI-generated code. The AI cannot help you here and you are going to have to figure out the "why" all by yourself. It will become incredibly easy to generate code with prompts but fixing any problem is going to be a pain. The "Tech Debt" would be astronomical.
- daxfohl 5y agoIn ten years ML models may be "thinking" the same thing about us. Our "more understandable" code is full of inefficiencies and bugs and the bots wonder why we can't see this.