2 ms·
I have incorporated a lot of SO code. I never incorporate it, until I understand exactly what it does. I usually learn it, by adapting it to my coding style, a
by ChrisMarshallNY 2y ago
I have incorporated a lot of SO code. I never incorporate it, until I understand exactly what it does.
I usually learn it, by adapting it to my coding style, and documenting it. I seldom leave it untouched. I usually modify in one way or another, and I always add a HeaderDoc comment, linking to the SO answer.
So far, I have not been especially thrilled with the AI-generated code that I've encountered. I expect things to improve, rapidly, though.