Is “one week of electric scooter rental in Bucharest” the new world currency?
Flutter looks good, but is painful
31–40 of 191 posts
Re: Flutter looks good, but is painful
#32While this has little relationship to the original article... We really should be trying to use the native GUI toolkit (or cross-platform native UI libraries like libui), not using Flutter-esque libraries that draws everything from scratch. Coherent UI is a very important point to users IMO. Users can assume that some special feature from App X will also work on App Y. For example, in macOS Cocoa, textboxes have univ…
> Windows apps usually just re-invent all kinds of UI elements It wasn't always this way. Before Win8, most apps used native controls on Windows. When it became apparent GPU rendering is the way forward, MS re-implemented them in WPF. It does draw everything from scratch, because the backend is now DirectX 9. But it was a first party reimplementation, the UX is good. Then came Windows 8 and Windows 10, trying to conv…
Yeah, it's true but the problem is that the native controls were very limited. There was no central notification system so every Windows messaging app reinvented notifications(unlike macOS which converged to Growl and later, the Notification Center), no standard Ribbon Menu widget (at least when it was first introduced, I'm not sure about the current status) so everyone reinvented it, e.g.
> Then came Windows 8 and Windows 10, trying to converge PCs and phones. They screw up the UX.
This is so true... Windows 8/10 has a such mixed up UX that some system components are using the new 'metro' style while some others are old Win32 ones that don't support HiDPI... And, (while currently not true) Windows 10 had two settings app that worked differently for a few years. :-(
Re: Flutter looks good, but is painful
#33While this has little relationship to the original article... We really should be trying to use the native GUI toolkit (or cross-platform native UI libraries like libui), not using Flutter-esque libraries that draws everything from scratch. Coherent UI is a very important point to users IMO. Users can assume that some special feature from App X will also work on App Y. For example, in macOS Cocoa, textboxes have univ…
>Adding Flutter or any other UI library that draws everything from scratch is a bad idea. Some would say re-writing the same app 5 times (Windows, macOS, Linux, iOS, Android) and maintaining 5 codebases is a bad idea.
Re: Flutter looks good, but is painful
#34For those who are looking for an alternative to Flutter/React Native, please check out Nativescript @ https://docs.nativescript.org ! It's different in a few key ways: - Draws native components (Flutter draws every pixel) - Pure JS native (i.e. JNI powered) shim layer (you can write stuff like `const intent = new Intent()`) - Typescript as first-class (not quite so with React Native, and IMO Typescript > Dart as far…
Looks interesting, but from the homepage I had absolutely no idea this had anything to do with apps. What would be a good place to start?
Here's a talk from 2 years ago:
https://www.youtube.com/watch?v=ELemwZXJZVg
I personally prefer Nativescript-Vue and I find their docs to be very good:
https://nativescript-vue.org/en/docs/introduction
Some more video resources:
https://www.youtube.com/watch?v=DcCSq2Y9bow
https://www.youtube.com/watch?v=qR1ESQTALI0
I personally think the best way to learn it is to get your hands dirty and use it to build something, so I'd recommend that, but there are certainly resources out there as well.
Re: Flutter looks good, but is painful
#35I have a couple of android app PoCs in mind but didn't want to go down the Android SDK way which IMO is becoming more and more complicated and verbose with every release. Just tried Flutter and React-Native yesterday for the first time, and I'm sorry to say both were sorely disappointing. Flutter was easier to install and get working, but Dart seems to be as verbose as Java with some JavaScript style syntax mixed in.…
Re: Flutter looks good, but is painful
#36While this has little relationship to the original article... We really should be trying to use the native GUI toolkit (or cross-platform native UI libraries like libui), not using Flutter-esque libraries that draws everything from scratch. Coherent UI is a very important point to users IMO. Users can assume that some special feature from App X will also work on App Y. For example, in macOS Cocoa, textboxes have univ…
Also on Desktop, macOS is the only one that even has a single official "native" toolkit.
Re: Flutter looks good, but is painful
#37All it does is let you write iOS UI code in Java or Kotlin, and target both iOS and Android from a single project.
It uses the actual underlying iOS API, and simply provides Java wrappers for them, that map one-to-one.
I keep wondering, and don't know why it hasn't gained much traction. It is so much better than Flutter, is obviously reliable since it's a simple 1-1 mapping/translation layer. (There is more work involved with it, as you have to write the UI lawyer twice, but that's about it.)
Re: Flutter looks good, but is painful
#38So.. in summary Flutter is a buggy unfinished and badly designed framework. Nothing new here folks.
The difficulty for newcomers is anticipating where the pain points might be. Detailed articles like this are rare and a huge help with assisting with decisions on whether to invest time into it.
Re: Flutter looks good, but is painful
#39For those who are looking for an alternative to Flutter/React Native, please check out Nativescript @ https://docs.nativescript.org ! It's different in a few key ways: - Draws native components (Flutter draws every pixel) - Pure JS native (i.e. JNI powered) shim layer (you can write stuff like `const intent = new Intent()`) - Typescript as first-class (not quite so with React Native, and IMO Typescript > Dart as far…