6 ms·
Thank you for this overview -- the article itself doesn't seem super useful unless you already have this context. I glanced at CLIM, and it's very much still t
by setpatchaddress 6y ago
Thank you for this overview -- the article itself doesn't seem super useful unless you already have this context.
I glanced at CLIM, and it's very much still traditional verbose, imperative GUI code. Someone should really take a look at doing a Lisp version of the SwiftUI concept. It seems to be made for s-expressions.
- kazinator 6y agoNote that declarative syntax for specifying GUI properties is actually old hat, too. (Even if we ignore things like HTML and CSS). I mean, for instance, oh, Windows resource files. Glancing through CLIM, I also don't see anything like that sort of separation between GUI logic and form.
- setpatchaddress 6y agoSure, the lineage of declarative UI is pretty long. I'm aware of Windows resource files and the Mac's resource files that inspired them; there may be earlier antecedents on 8-bit micros. SwiftUI provides a fundamentally different way of thinking about UI composition and managing data flow in your app. Much of the GUI logic simply disappears. Syntactically and functionally, it seems like something structured like it would be a great fit for a cross-platform Lisp UI framework.