Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 2
    It’s quite trivial: everything you find anywhere on the internet is copyrighted unless explicitly stated otherwise. Commented May 21, 2020 at 11:55
  • @EmilJeřábek - I'm not convinced it's quite as simple as that. Copyright law varies from country to country Even though "a very small part of someone else’s work can require permission (and hence attribution in this case) if that part is an important or integral part and was the result of skill and time", it's not clear to me that a few lines of code posted in response to a StackOverflow question automatically falls into that category. Commented May 21, 2020 at 17:11
  • Copying a nine-line function (rangeCheck) was enough to qualify as copyright infringement, according to a U.S. district court in Google v. Oracle America. Other countries might have different standards, as you said, and I'm not familiar with how Australian copyright law works -- however, I'd be careful and make sure to attribute even a few lines of code. Commented May 24, 2020 at 3:54