Is Homework Really Necessary?

My code of ethics gives rules and examples as to why teachers believe they should give homework and why students do not agree with that.