Hacker News new | ask | show | jobs
by pawn 4760 days ago
It's up to the teacher really. I had a professor who accused an entire class of plagiarism for a small assignment because they all used similar logic. The thing was, it was a low-level class and the solution was less than 50 lines of Java anyway. There wasn't really room for unique solutions.

In the industry, using templates/boilerplate code is expected and encouraged. No reason to re-invent something if someone's already done it better than you will.