3 ms·
> the declarativization of the UI Yes! There's always going to be some range of client behavior that's difficult to reduce to declarations, but so much of what
by wwweston 3y ago
> the declarativization of the UI
Yes! There's always going to be some range of client behavior that's difficult to reduce to declarations, but so much of what we do is common that if it isn't declarative we're repeating a lot of effort.
And in general I think you're describing a big part of what made the web successful in the first place; the UI-as-document paradigm was declarative, accessible, readable, repeatable.
- rektide 3y agoThank you! Yes and!: > but so much of what we do is common that if it isn't declarative we're repeating a lot of effort. We're not only repeating effort, we're also using artisinal approaches to wiring things up. Hand writing handlers is repeated work with low repeatability; there'll be a variety of forms & ways & places people end up writing similar-ish handlers, & creating the data model to pass all the references/targets around. Being more declarative is not only less work, it also ought be much higher quality, more predictable, to have a lot less vagueries of implementation. It'll make it much easier to comprehend & maintain. Less work, for more repeatable/consistent outcomes.