Hello,
So I had a question regarding other peoples work, preferably C++? I know that it's common curtesy to give credit to the source, but what about legality of it? I don't think you could possibly own a piece of code?
Scenario 1: You find a math class that has everything you were going to do anyways. I'm assuming this has been done a lot and would you still credit the source? If anything, they are doing the work you wanted to avoided, but is it necessary even? It's nothing really special?
Scenario 2: You find a fast algorithm that required more knowledge then you know.
Scenario 3: You find a barebone framework and expand upon it greatly. It's possibly it won't even be recognizable by the end.
Lastly, at what point is it no longer even consider the original code? What if everything was renamed? It just got me curious because I often look through GitHub and get ideas how to accomplish specific things, let's say A*. I often alter a lot of it especially to make it work with my current setup, but is it even necessary to give credit to someone who did A*? He's essentially applying a known piece of code, but because he typed it he gets the credit? I think I do more copying and pasting then I'd be proud of. I'll often learn from a book, for example, and at that point I just prefer always doing it that way and make my own little adjustments.
This is all curiosity and I think in general it's always nice to give credit to code you really think deserved to be mentioned. It just really had me thinking about all this legally and at what point and alterations would be considered “your own?” Any other points or explanations would be appreciated.
Thanks, have a great weekend.