News for hackers. Stuff that matters.
Re:How Developers Choose Names by dexwiz on Sunday April 18, 2021 @11:19AM (#26853202)
I completely disagree with this example. Only in first order implementations does that click just change the date. As you refine UX you may add some debounce, error handling, alternative behavior, etc. DOM events rarely end up corresponding to such simply expressed handlers.

Also when you are reading the reverse, it’s not clear on what on what updates date. The worst scenario is when two listeners share a handler.

Re:How Developers Choose Names by irrational on Sunday April 18, 2021 @11:27AM (#26853289)
What are your naming recommendations?
Re:How Developers Choose Names by dexwiz on Sunday April 18, 2021 @05:36PM (#26856643)
Exactly what OP discourages. Ha dleClick for onClick, handleDragOver for onDragOver, etc.