>Forgive my ignorance of Rust, but GUI toolkits are probably the strongest candidate for OOP style development
That's so 1991. We're on to GUI's as pure functions of state these days, get on with the program :-)
That's so 1991. We're on to GUI's as pure functions of state these days, get on with the program :-)
I made the comment because such an abstraction doesn't at all map to reality.
Only if you choose to model your system that way. You can push the same paradigm all the way through: immutable events, and pure functions that transform an event and a previous (immutable) state into a new state.
You’re going to recreate framebuffers and font atlases and invalidate your entire UI every single time? Good joke.
https://www.freecodecamp.org/news/the-revolution-of-pure-vie...
https://raphlinus.github.io/ui/druid/2019/11/22/reactive-ui....
https://raphlinus.github.io/rust/druid/2020/09/25/principled...