4 ms·
I'm curious, do you have a current favorite way of implementing UI, particularly for desktop applications, that isn't obfuscated and doesn't violate the rules o
by mwcampbell 3y ago
I'm curious, do you have a current favorite way of implementing UI, particularly for desktop applications, that isn't obfuscated and doesn't violate the rules of the host language? Or do you find that Jetpack Compose is a good choice overall despite those shortcomings?
- mike_hearn 3y agoI'm still making up my mind about Compose, there are aspects I really like and aspects I really don't. It's not the fault of Compose itself, the aspects I don't like are basically the conceptual model as copied from React. Honestly for recent simple GUIs I've made for my own in house tools I'm still using JavaFX. Mostly because I always seem to end up needing a good table view, and because I happen to know it. If I were working with it a lot I'd end up maintaining a TornadoFX style set of wrappers but for simple stuff the plain API works OK. Because I'm weird I'd probably use it for low-traffic web apps these days too, with JPro (jpro.one). Probably not for mobile web, and not for stuff where users are on high latency connections in general, but if the user has a nice big screen and a low latency connection I'd personally find it a lot easier and more productive than dealing with HTML and CSS. The results are indistinguishable for the user if you are careful.
- mwcampbell 3y agoThanks for that info. I promise the original intent of my question wasn't to find an excuse to nag about accessibility, but I should point out that JPro is certainly not indistinguishable from typical HTML for a screen reader user, judging by the JPro website. In particular, the links are marked up strangely, with a separate link for each word in a multi-word phrase, and there are no headings or landmarks to aid navigation. Just thought you should know.