Conversation
Edited 2 hours ago
#GUI framework idea: instead of messing around with grids, layers and other demons of Hell, what if the developer just declared things like:

* These things belong together
* This group of things is the most important
* This group of things is only required sometimes
* ...

Edit: Since smart people talk about "visual hierarchy" may the dev would define a graph of elements?

Not saying this would build great GUIs, but there will be *a* GUI composed based on some generally not too bad practices.

#Programming
1
0
1

@buherator Yesss. I've idly pondered about this a while back, some kind of goal oriented system, where certain visibility and alignment constraints contribute to some kind of utility score.
Not sure how tractable it would be in practice tho.
Maybe a greedy approximation would be enough?

1
0
0
@csepp I would call this a declarative approach actually! Unfortunately I have designed exactly zero good GUIs, so I have no idea how this could be actually implemented.
0
0
1