Hey,
I see no reason to get rid of the hooks class.
Given you also do not understand why I think the comment is funny, I recommend you read up on why writing static code is harmful. And on how global state can hide in static "classes".
We use static classes other places in core.
https://yourlogicalfallacyis.com/bandwagon
In almost all such cases I have seen in core this kind of use of static is bad.
And there's no reason to revert to hideous functions like we had before.
No one is suggesting that.
Cheers
-- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. --