3 ms·
No, I use LLMs to help with code all the time and I have zero functions written entirely by an LLM. It’s more about figuring out small sections of code, or help
by sk11001 3y ago
No, I use LLMs to help with code all the time and I have zero functions written entirely by an LLM. It’s more about figuring out small sections of code, or helping with design decisions, not about generating fully working functions.
I don’t document things as “I learned this from stackoverflow” either, LLMs are very similar.
- CamperBob2 3y agoActually I am pretty careful about adding stackoverflow URLs to comments, not out of any sense of obligation but so I know where to look if I need further insight when debugging or reusing the code later. This habit has paid off more than once. For LLM-generated code, I don't see much value in documenting where it came from, especially since it will be very exhaustively tested (and likely rewritten entirely) before it gets checked in, to an even greater extent than excerpts snagged from Stack Overflow. Also, a given prompt will rarely return exactly the same code twice, certainly not years later when I need to look back at it. It will make more sense to create a new query if/when that happens.