Re:Swift 5.3 Will Be Supported on Windows and Additional Lin...
by yoz-y on Saturday May 16, 2020 @05:53AM
(#23202048)
I’d say electron became popular thanks to HTML, not JavaScript. IMO HTML is by far the “easiest” to use GUI framework because it is so unconstrained. It will end up a mess, but eventually you can get the result you want. This is not the case with native frameworks which come with a larger sets of rules on how they can be used.
[ Parent
| on HN ]
Re:Swift 5.3 Will Be Supported on Windows and Additional Lin...
by pjmlp on Sunday May 17, 2020 @02:55AM
(#23210153)
I beg to differ, having been doing GUI coding since a couple of decades.
Guess what, what in most of them I never had any issues to center elements, or create fake UI elements out of list items.
Also layout managers were already a thing back in 2000.
Re:Swift 5.3 Will Be Supported on Windows and Additional Lin...
by yoz-y on Sunday May 17, 2020 @10:52AM
(#23212415)
I did UI development for quite a while too, and in my experience having very specific layouts (and look) in HTML is easier than in frameworks I used (Gtk, Qt, UIKit...).
Main difference is that HTML has affordances to size elements "upwards" whereas in other toolkits you need to do this manually (e.g.: estimating text size is a thing, in html you don't need to care about this)
Now, this also encourages original layouts which are untrue to platforms which is not a good thing imo.