> We were explicitly told that searching online for answers to homeworks was forbidden. I might be in the minority but I am of the opinion that if you are grading students on something that can be easily obtained through a google search you probably shouldn't be grading them on that.
What is your justification? Anything that can be found on Google isn't worth learning? Just to take a trivial example: take a look at Project Euler. There's no question in my mind that working through those exercises is a valuable learning experience, and (in the context of a programming course) would be worth grading someone on-- even though the answers are readily available to anyone who searches for them.
How in the world you got that out of my comment is beyond me.
People cheat with resources available it is a sad fact but it is true. You are being unfair if you decide to punish honest students by grading on something that is easily available (I've seen homework grades as 30% off class grades before).