That's a reasonable way of looking at it, but capabilities are not restricted to low-level system properties. Here's a terminal UI system built around three main capabilities:
- layout (adding components to the component tree)
- event (handling user input events)
- react (reacting to changes in reactive values)
Comments
So it's essentially low level dependency injection where it's not just about the interface but the system and it's resources too, right?
I will take a look at your content, these topics interest me a lot.
That's a reasonable way of looking at it, but capabilities are not restricted to low-level system properties. Here's a terminal UI system built around three main capabilities:
- layout (adding components to the component tree) - event (handling user input events) - react (reacting to changes in reactive values)
https://github.com/creativescala/terminus/tree/main/ui/share...
This is the case study I'm using for the book chapter.