My algorithms professor does that too and it's better than nothing but still causes problems.
For example I still have to do other classes' homework before I can start studying.
Meanwhile cheaters can just skip homework for the other classes and focus on studying for exam.
I still appreciate this technique much better than the more popular alternative of "make exams much harder to make up for the grade inflation." Thank you.