Hacker News new | ask | show | jobs
by lin83 1455 days ago
There isn't a threshold for copyright violation. If you copy a 3 line function from a GPL library, you have to comply with the licence. Tools like BlackDuck will pick it up.

Snippets aren't exactly defined but I see them as more than just a single line like "here's how to flatten a list in Python", it's some functionality - e.g. an algorithm implementation or some task.