@mismi,
I always liked and disliked homework, from elementary school through university and the many classes I took after that. First of all, the child in me, often doesn't like "having to" do anything - a primitive reaction, I'll admit, that is still kicking after all these years. But as an adult, one mostly chooses one's own "self-assignments", if not always.
On the other hand, a lot of my understanding has come from the process of hearing something at school, understanding it or not, then thinking about it at home later by means of some assignment (or, as an adult, going over my notes) -
this is a way of secondary processing for me so that the information gets deeper than short term memory. Not everyone learns something forever instantly. Sometimes new knowledge fits into old patterns in the mind, and is just added data. Sometimes it is largely new learning - and to me that takes some processing.
Then there's the matter of reading. I don't know how much reading goes on now at whatever level of school, but I read vast amounts of material by the time I was going through university, and in my later studies in landscape architecture, and in that field's study, I had huge hours of design assignments. One builds up to that kind of effort by starting however lightly as a child, I think. It has to do with increasing concentration over time, so that with practice at concentration, one gets more efficient.
I have read articles against homework and can understand the point of view; I find that I still come down on the other side.