Live data from Hacker News

Flutter Release Preview 2

developers.googleblog.com

61–70 of 123 posts

Re: Flutter Release Preview 2

#61

Why do they want me to learn a new language to make use of a gui runtime+lib? Seriously. What makes that language that revolutionary so that nothing else, no other tried & tested & loathed language, could have been used instead? I don't see it.

Even if the design choice made sense for [reasons], this is imo the biggest thing holding it back.

Re: Flutter Release Preview 2

#62
post #23

EDIT: formatting Almost everyone here talks about abandonment. It's become a sad Google reality, but I'd hazard that some people are posting from Google Chrome, which would defeat the point about worrying. I use Flutter, I've released an app that's been in prod for about 5 months now. Flutter runs on Dart, which is a Google-bred language. From my little knowledge, most/some of the people working on Dart are the team…

> but I'd hazard that some people are posting from Google Chrome, which would defeat the point about worrying. Uhhh, how do you draw that conclusion? There are lots of browsers and they take literally zero time to learn. Comparing a browser to programming language or framework is apples and oranges. > Is Google going to abandon Flutter, what about Dart? Should I not learn Go because they'll also abandon it? Heck, sho…

Same here.

Java and C++ for my hobby coding on the platform.

Both skills much more useful on contexts outside Android development.

If I would need to write cross platform mobile apps production code, I would rather go C++ for business logic with native views, Qt, Xamarin or if performance requirements aren't tight, PWAs.

Dart makes it unattractive to learn Flutter, given its past history.

And Kotlin it remains to be seen how well it will faire in the actual Java world, outside Android, where we can make use of the latest versions slowly picking features from the alternative languages.

Re: Flutter Release Preview 2

#63
post #34

Earlier quoted context omitted.

But that's my point (which other people are making). There's a difference between Google APIs, products and software platforms. Some are riskier than not. It adds little to the conversation if someone just says "scared of abandonment" without providing more context. Yes, one's entitled to that opinion, but it's slightly misplaced sentiment. Out of interest, how long would it take for one to migrate from Go to say C o…

> Yes, one's entitled to that opinion, but it's slightly misplaced sentiment. How do you figure? How long have you been using/developing with Google products? Microsoft had the same reputation a few years ago. They learned the hard way what happens when you piss off developers. They are now making great strides to right those wrongs. What is Google doing to assuage those fears? The way they have managed Android itsel…

Google Maps: 5 years

Android: 3-4 years

GCP: gRPC: 2 years (Kotlin, Python, Node, Rust, Scala)

From this and your other reply, you seem to have been burnt by something in Android. The mobile market for which I develop products is made up of over 80% Android. Whether Sundar Pichai decides to kill Android tomorrow or now, I'm not going to let that get in the way of me making a living from a platform that currently exists with a significant market share re. my target market.

Re: Flutter Release Preview 2

#64
Flutter might be a cool project, but what's the status of integrating native controls?

Mobile apps are not only CRUD clients and do lots of stuff that needs tight OS integration. The last time I checked, flutter couldn't do Maps, GeoLocations, AR (ArKit/ARCore), Encryption, audio/video, file storage etc activities that are outside the normal purview of a CRUD TableView App.

Since flutter team seems to be active here, could anyone from the team shed light on these aspects?

Re: Flutter Release Preview 2

#65

Why do they want me to learn a new language to make use of a gui runtime+lib? Seriously. What makes that language that revolutionary so that nothing else, no other tried & tested & loathed language, could have been used instead? I don't see it.

Across several industries and in different companies, my experience was that learning Dart was measured in hours and not weeks. One company started to train their HR employees to code in Dart (being their first programming language that they learn) in order to streamline the interviewing process of developers.

If you have seen C#, Kotlin, TypeScript or Java code and understand it, you will understand Dart and will be able to use the language soon enough.

Re: Flutter Release Preview 2

#66

Earlier quoted context omitted.

Thanks for the kind comments! I'm one of the product managers on the Flutter team, so you're welcome to apply suitable skepticism to anything I might say in response to your last point, but I will say that Flutter is already being used in many strategic projects here at Google, as well as for many customer apps, some of which already have tens of millions of users. For example, Alibaba are using it to build one of th…

Hey, thanks for the data point. I'm actually fairly interested in Flutter, but I have no interest at all in Dart since I find it severely lacking compared to modern, more popular production languages for mobile development such as TypeScript or Kotlin (which have features such as algebraic data types which have become an absolute must-have for me and my team), to the point it completely deters me from adopting it. Is…

Dart isn't perfect, and I think at the least would really benefit from Union types. There are some open issues related to these things though:

https://github.com/dart-lang/sdk/issues/4938 (Unions) https://github.com/dart-lang/sdk/issues/421 (Tuples)

Please feel free to contribute here! That said, it's certainly possible to work around these things. Dart has a tuple library (https://github.com/dart-lang/tuple) which covers a lot, and much of what you'd use Unions for can still be covered by accepting `Object` or `dynamic` parameter types and doing some typechecking.

Re: Flutter Release Preview 2

#67

I spent quite a few months comparing this with React Native. Flutter has done cross-platform right. And it's somewhat sad and counter-intuitive but pretending to be native is a lot better than actually being native. iOS and Android are just too dissimilar in areas to provide a common layer on top of. In particular routing which is a mess with React Native. Flutter also has the best development experience period. Noth…

There is a large and growing team supporting Flutter at Google. Flutter is here to stay, and even beyond Google's investment in it there's a large number of dedicated community contributors too!

Re: Flutter Release Preview 2

#68

Flutter might be a cool project, but what's the status of integrating native controls? Mobile apps are not only CRUD clients and do lots of stuff that needs tight OS integration. The last time I checked, flutter couldn't do Maps, GeoLocations, AR (ArKit/ARCore), Encryption, audio/video, file storage etc activities that are outside the normal purview of a CRUD TableView App. Since flutter team seems to be active here,…

First party maps support has recently landed, as well as WebView.

Geolocation plugins have been available for quite sometime now, as have encryption and file storage.

Re: Flutter Release Preview 2

#69

Why do they want me to learn a new language to make use of a gui runtime+lib? Seriously. What makes that language that revolutionary so that nothing else, no other tried & tested & loathed language, could have been used instead? I don't see it.

Dart 2.0 is not Dart 1.0. And the Flutter team has had a large hand in shaping and forming Dart to its current state (and continues to drive certain priorities for it).

Dart is easy to learn (espeically if you come from a JavaScript, Java, or C# background). It can be compiled in ways suitable for distribution in both Apple and Play Stores. And the Flutter team has direct access to the language team behind Dart to ensure that it works well for mobile development.

Re: Flutter Release Preview 2

#70

Is Flutter using native controls here, or are they drawing a copy of them by hand? I didn’t see a scroll bar in that demo, so I’m not sure. The rest of the stuff looked pretty good, though of course I’d need to actually physically try it to give it a final opinion rather than just rely on a GIF of someone interacting with it.

Flutter takes full control of the rendering pipeline directly on both platforms - all the controls your seeing are written in Dart for Flutter, but designed to mimic the best of what the platform offers.

In particular, this means that if you're running an Android app on an older device, it can still show the latest Material design widgets (and similarly for iOS, showing the latest Cupertino styled widgets, or Material).

Post reply on HN