Hacker News new | ask | show | jobs
by ams6110 4025 days ago
Is there not a blanket/implicit release of claim that goes along with posting code on SO?

When I copy code verbatim from SO or another "help" site, I generally put a comment right above that chunk of code, something like:

  /* See: http://stackoverflow.com/a/xxxxxxxxxxx */
Don't know if that's enough to protect against any ownership claims though.
2 comments

I think this is helpful more in helping future developers reading the code have more context about what the code is, why it's there, and where it came from, rather than anything to do with ownership claims.

Often times code taken from SO solves the problem but noticeably is structured differently from the rest of the codebase--often with good reason--and this helps the new dev go look back at the SO conversation and see what problems this is solving / if it can be removed.

Code posted on SO doesn't need to be written by the person posting the code.