Live data from Hacker News

Exploring Flutter for Cross-Platform Mobile Development

sethlopez.me

31–40 of 92 posts

Re: Exploring Flutter for Cross-Platform Mobile Development

#31

Earlier quoted context omitted.

> https://www.codenameone.com/gallery.html The Codename One app gallery says otherwise.

It's a partial gallery and keep in mind it's installed apps. There aren't 180M apps in existence so interpreting that number in that way wouldn't make sense...

Yet, the way it's written certainly makes it look as if that's the way to interpret it.

Re: Exploring Flutter for Cross-Platform Mobile Development

#32
post #9
post #4

Earlier quoted context omitted.

[disclaimer: I work on the Flutter project] We're adding more Cupertino (iOS-flavor) widgets. A few that we already have: spinner, toggle slider, button, alert. Check out the library ( https://docs.flutter.io/flutter/cupertino/cupertino-library.... ) and let us know which ones you'd like to see next! https://flutter.io/issues Thanks!

Will your custom widgets work with all iOS accessibility features? Accessibility is often forgotten when something gets reimplemented.

[deleted]

Re: Exploring Flutter for Cross-Platform Mobile Development

#34
> Though Flutter doesn’t use the native UI widgets, it’s a cross-platform framework and has widgets for both Android and iOS

Hot-reloading and good performance are very attractive parts of Flutter, but they really should have reconsidered the decision to make their own UI widgets. When you use the native UI elements, you get that native look-and-feel for free, and you don't have to dump man hours into replicating that behavior. They could have a "UI backend" which calls out to the native UI elements for each platform. The great thing is that since they use these UI widgets natively on Fuchsia, they can use their existing code as just another backend on that platform without having to throw the work away.

Re: Exploring Flutter for Cross-Platform Mobile Development

#35

Earlier quoted context omitted.

> https://www.codenameone.com/gallery.html The Codename One app gallery says otherwise.

It's a partial gallery and keep in mind it's installed apps. There aren't 180M apps in existence so interpreting that number in that way wouldn't make sense...

My point was how bad they looked, not their quantity. If I was going to showcase my product I would select the best of the best. If that's the best this product has to offer then you should probably reconsider your statement that Codebase One runs circles around Dart/Flutter because from the look of the Dart/Flutter apps I've seen they're on another level.

And if the look of the Codebase One apps weren't enough to make you turn and run the ridiculous pricing strategy of Codebase One would. Why would I pay a fee for unrestricted cross platform development when better alternatives that are free already exist.

Re: Exploring Flutter for Cross-Platform Mobile Development

#36
That chat app demo they coded at the I/O 2017 presentation in under 400 LOC was pretty ridiculous (in a good way) considering all of the functionality it included. The demo code was run on an iOS and Android device and each used its respective look and feel.

Re: Exploring Flutter for Cross-Platform Mobile Development

#37
post #29

I had high hopes for flutter but gave up after a while. It feels like their design meetings were spent arguing about grammar and splitting hairs, rather than thinking about ergonomics and how people would use it. In Flutter, everything is a nested pile of objects with too many APIs to keep track of. Take this example: https://github.com/flutter/flutter/blob/master/examples/stoc... Why do I need to care if something t…

I mean, if you're using IntelliJ or Visual Studio Code it automatically completes which argument something takes, it's hardly like you need to go around digging for that stuff. Personally, I think it makes sense to differentiate between something which takes one child and something which takes an array of children.

Re: Exploring Flutter for Cross-Platform Mobile Development

#38
>Though Flutter doesn’t use the native UI widgets, it’s a cross-platform framework and has widgets for both Android and iOS. [...] On iOS, the biggest thing that stuck out to me was the scrolling. It didn’t quite feel right because of the physics, but I’m sure that would just require a little tweaking by the Flutter team.

Count me a skeptic. This is the same approach taken by Java's Swing (now JavaFX) toolkit and apparently it has exactly the same issues. Swing never felt quite right even after decades of tweaking.

Re: Exploring Flutter for Cross-Platform Mobile Development

#39
post #37
post #29

I had high hopes for flutter but gave up after a while. It feels like their design meetings were spent arguing about grammar and splitting hairs, rather than thinking about ergonomics and how people would use it. In Flutter, everything is a nested pile of objects with too many APIs to keep track of. Take this example: https://github.com/flutter/flutter/blob/master/examples/stoc... Why do I need to care if something t…

I mean, if you're using IntelliJ or Visual Studio Code it automatically completes which argument something takes, it's hardly like you need to go around digging for that stuff. Personally, I think it makes sense to differentiate between something which takes one child and something which takes an array of children.

> Personally, I think it makes sense to differentiate between something which takes one child and something which takes an array of children.

Could you please explain this - it doesn't make sense to me.

To me it seems clearly and unambiguously true that a single child is not a special case vs multiple children, but rather just a list of children that is 1 long. I can't think of any cases where handling both as an array would possibly have you write worse code.

Re: Exploring Flutter for Cross-Platform Mobile Development

#40
post #39
post #37

Earlier quoted context omitted.

I mean, if you're using IntelliJ or Visual Studio Code it automatically completes which argument something takes, it's hardly like you need to go around digging for that stuff. Personally, I think it makes sense to differentiate between something which takes one child and something which takes an array of children.

> Personally, I think it makes sense to differentiate between something which takes one child and something which takes an array of children. Could you please explain this - it doesn't make sense to me. To me it seems clearly and unambiguously true that a single child is not a special case vs multiple children, but rather just a list of children that is 1 long. I can't think of any cases where handling both as an arr…

Take the Container class in Flutter, it can only take a single Widget as a child. Having to write a list of children that is 1 long every time I use a container doesn't make sense to me, and to me seems confusing as it will lead to people trying to add more items. I don't know, that's my opinion, maybe I'm wrong :)
Post reply on HN