I don’t particularly agree with GP’s comment, but homework is not the main way everyone learns. Maybe some individuals do learn that way, but others absolutely do not. I personally did not do a single homework assignment other than a senior term paper throughout all of high school and still learned the material presented. I think it’s too broad to just assert that homework == ‘way to learn’.