DEV Community

Discussion on: Do you copy and paste code from Stack Overflow?

Collapse
 
vdedodev profile image
Vincent Dedo

Yes, I will copy-paste StackOverflow code.

Paste into a sandbox and make sure it actually runs.
Figure out what parts I need for my bit of work.
Try that approach for my work and check the output/result.
If it works, go read up on it and figure out if that specific implementation/call is the best for my needs.
Write a fresh piece of code with the concept I just tested and learned.