DEV Community

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

 
moopet profile image
Ben Sinclair

I think it depends where you use it. Anything trivial (a line or two) I think is basically fair game (notwithstanding things like the true binary farce, etc.)
If it's a function and you're doing more than change variable names then you should credit the author and share changes, but you don't have to open source your whole application.

I think, anyway.