News for hackers. Stuff that matters.
Re:How often people copy and paste from Stack Overflow by analog31 on Thursday December 30, 2021 @07:02PM (#29743176)
I copy and paste from SO, but it's pretty rare that I can use the code as-is. Sometimes it's not even in the same language. My usual habit is to leave a link to the web page in a comment. Sometimes the link is more valuable than the code itself because a SO thread will include differing opinions and good explanations.
Re:How often people copy and paste from Stack Overflow by callamdelaney on Thursday December 30, 2021 @07:52PM (#29743575)
I do this too, also to insightful comments occasionally. I like how you can grab a short link to a specific answer.
Re:How often people copy and paste from Stack Overflow by davchana on Thursday December 30, 2021 @09:44PM (#29744295)
I too, after coming back to a code snippet or logic, and struggling to understand why or how I used it, now everytime I get help from stack overflow, i put that answer's link in a comment just before the code or concept starts.