Patrick Dubroy
@dubroy
Nobody ever got fired for using callbacks. But what are some better ways of handling user input?

One idea is *interactors* — see "A New Model for Handling User Input" by @bradamyers: cs.cmu.edu/~amulet/papers….
Tweet image
Nov 30, 2020 · 61 · 5

Another one I like is "Polyphony: Programming Interfaces and Interactions with the Entity-Component-System Model": hal.inria.fr/hal-02147180/d…
Tweet image

Of course there are also approaches based on state machines / statecharts. Steve Oney's "Interstate" is a great recent example: from.so/Oney_et_al-UIS…
Tweet image

I also love the idea of treating event handling as a parsing problem. I first saw this in "Proton: Multitouch Gestures as Regular Expressions" at CHI 2012: graphics.pixar.com/library/Proton…
Tweet image
Dec 1, 2020 · 11 · 2

https://twitter.com/dubroy/status/1333357859749453824 ∙ Archived on 2025-03-28.

← Twitter Archive: 2020