79149278

Date: 2024-11-01 20:06:35
Score: 1
Natty:
Report link

handlers are sophisticated callbacks, they have a uniform argument sequence, certain type of return value and same "handling" rules for wide range of events

callback is usually unique for every functor that defines a callback. you may easily confirm that by looking at documentation.

handlers allow to make code "flatter", like if one writes "christmas trees" with callbacks, same code becomes a take-off stripe/line with handlers.

enter image description here

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Michael Quad