Earlier quoted context omitted.
That's not what GP is saying. In general, you're absolutely allowed to learn programming techniques from anywhere . You can contribute software almost anywhere even if you've read Windows source code. Re-using everything you've learned, in your own creative creation, is part of fair use. Your example is the very specific scenario where you're attempting to replicate an entire program, API, etc., to identical specific…
> Your example is the very specific scenario where you're attempting to replicate an entire program, API, etc., to identical specifications. That's obviously not fair use. You're not dealing with little bits and pieces, you're dealing with an entire finished product. No - google's 9 lines of sorting algorithm (iirc) copied from Oracle's implementation were not considered fair use in the Google / Oracle debacle. Likew…
The Supreme Court decided Google v. Oracle was fair use. It was 3 months ago:
https://en.wikipedia.org/wiki/Google_LLC_v._Oracle_America,_...
That's the highest form of precedent, the question has now been effectively settled (unless Congress ever changes the law).
Edit: added a dummy hash to end of URL so HN parses it correctly (thanks @thewakalix below)