FWIW - isn't it kind of backwards that public code encourages cheating? Shouldn't we all be working together anyway? I have learned nearly everything I know from studying, and copy/pasting code from people better than me. What a shame =(
I think the problem is that assignments are usually don't have much variation in the end code, meaning someone stands to gain just by being able to copy public code. If the assignments were more open ended it could allow that type of class collaboration and in the end everyone could learn more.