How does one differentiate? Say I spend some time looking at GPL code, learning the lessons presented, then writing my own code using what I’ve learned. Is this OK if I am working on non-GPL software? Is the answer different if an algorithm does the same thing?