News for hackers. Stuff that matters.
Re:Ask HN: Is it bad to put homework code on github? by thetabyte on Thursday April 05, 2012 @07:31PM (#3805201)
Well, the best thing to do is the same as always: talk to your teacher about it! Most of them want to help you! Make it clear that you'll take it down if it's a problem, and explain to him or her why you do it. It's the safest route.

If he doesn't like it, consider paying for Github if you can. Then you can have private repositories, and you'll be supporting a great service!

Re:Ask HN: Is it bad to put homework code on github? by caw on Friday April 06, 2012 @12:28AM (#3806005)
There's a free student plan or something for Github that you can have private repositories. Or, bitbucket.

Posting code is varies highly by teaching. I think most of my professors would have considered it outright cheating. Their interpretation of the collaboration policies was that unless it was a group assignment, you could help each other debug but you couldn't outright copy the code. Who knows who really followed that, but so long as it's in the gray area they can report you for academic misconduct. Even if it was fine for the current semester, some professors reuse homework problems. Clear it with them first.

Re:Ask HN: Is it bad to put homework code on github? by shadesandcolour on Friday April 06, 2012 @12:40AM (#3806025)
That's great, Github really should advertise that educational section more. I've sent in the request for that plan.