3 ms·
> _you're_ doing all the imperative `if KeyPress.A: do_something()` instead of declarative, You mean they don't hide the message loop as is in fashion and actu
by nottorp 3y ago
> _you're_ doing all the imperative `if KeyPress.A: do_something()` instead of declarative,
You mean they don't hide the message loop as is in fashion and actually let you control it?
- ramses0 3y agoMore like the generally accepted concepts of "selected, active, focus, style, change", and declaring either a visual response or "onEvent" response. A nested hierarchy, components may be complicated internally but expose a simple input and output interface. And yes, something a little more high level than `if key == 'a'` means you're focusing more on the data and display rather than the method. Different abstractions for different use cases, I guess. Any recommendations?
- memefrog 3y agoComputing is broader than the web.
- regularfry 3y ago"In fashion"? What?