Learning from Code vs. Plagiarism

Learning from Code vs. Plagiarism

On the other hand if I see code like this I’ve learned that I can subtract results of datetime’s now method and that whatever kind of object I get back has a total_seconds method. I’m convinced we can learn a lot from looking at other peoples’ code; architects don’t avoid looking at other architects buildings, and authors don’t avoid reading other authors books. Do HN’ers look at other people’s code?

Source: news.ycombinator.com