There is a case where named handlers
are prefered.
Suppose you bind an handler to an element; for some reason that element must be removed. You remove it; what about the binding DOM element/handler?
This situation leads to memory leaks. Besides expect some flaws in case you bind the same handler to an element that mimic the one you previously removed.
Whenever you need to remove DOM elements against which handlers have been bound to, use a named handler
because you need to pass the handler when unbinding the DOM and the handler.
So the counterpart to addEventListener
is removeEventListener