As well as distracting from lessons, this also meant the homework had to be rushed. This probably did teach me useful skills, e.g. I learned about error modeling from faking believable results in science classes (no time to take all the measurements), and my writing improved by writing final drafts first and then going back and adding errors to fake a first draft. My BASIC programming improved writing tools to automate math homework on a TI-86 calculator or on QBASIC at home.
I saw all this as resistance against tyranny, and never considered that there might be some benefit to homework. Most of it was pointless busywork anyway, so the actual benefit if I'd taken it seriously would have been minimal. I support a healthy school/life balance, which means the abolition of homework.