| ▲ | rsynnott 6 hours ago | |
> I can glance over code and know "if this compiles and the tests succeed, it will work", even if I didn't have the knowledge to write it myself. ... Errr... Yeah, that's not a great approach, unless you are defining 'work' extremely vaguely. | ||
| ▲ | rectang 4 hours ago | parent [-] | |
Haha I have usually found myself on the conservative side of any engineering team I’ve been on, and it’s refreshing to catch some flak for perceived carelessness. I still make an effort to understand the generated code. If there’s a section I don’t get, I ask the LLM to explain it. Most of the time it’s just API conventions and idioms I’m not yet familiar with. I have strong enough fundamentals that I generally know what I’m trying to accomplish and how it’s supposed to work and how to achieve it securely. For example, I was writing some backend code that I knew needed a nonce check but I didn’t know what the conventions were for the framework. So I asked the LLM to add a nonce check, then scanned the docs for the code it generated. | ||