Re:Don't encode POST bodies like GitHub Copilot, use URLSear...
by BiteCode_dev on Friday July 02, 2021 @01:18AM
(#27708034)
If you identify it's the right code, why not ?
Re:Don't encode POST bodies like GitHub Copilot, use URLSear...
by gnulinux on Friday July 02, 2021 @01:44PM
(#27714496)
If it's exactly what I want, then I'd be ok. It's just that, that never happened to me. The closest I came was, I was checking a regex and realized I missed some cases, so I copy pasted the regex string from SO. I can't imagine a scenario where a >1 line code in SO can be exactly what my codebase requires. Regardless, my methodology isn't going to SO to find code, I go to SO to read the answers, understand then write code. I never thought when people talk about "copy paste from SO" they literally mean like copy someone's code and paste it to your text editor.
Is this serious? I've never literally copy pasted from stackoverflow. I read the answer and then go write my own code. Did you seriously copy pasted an entire chunk of code and committed it to your codebase after some edits?