DEV Community

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

Collapse
 
ryan profile image
Ryan

I'll often copy two- or three-line snippets. Usually I arrive at stack overflow searching for a problem that I know is possible, and I can imagine a complicated solution that might work. Then I find someone has written a solution that's efficient, elegant and totally understandable.

In that case, why reinvent the wheel?