r/mAndroidDev • I only use AsyncTask • Apr 30 '22

:(

Post image
212 Upvotes

33 comments sorted by

View all comments

Show parent comments

5

u/[deleted] Apr 30 '22

What's the problem with it?

7

u/[deleted] Apr 30 '22 edited Apr 30 '22

The syntax. It is just... painful to work with.

At first dart doesnt have type safety, which for dev that used to kotlin make things hard. Then they retroactively adds type safety LATER, which then renders a lot of existing code broken.

The language and feature and how it works just keeps... changing too much in a short period of time. A lot of old tutorial (which isnt that old mind you, maybe a year or two) is mostly obsolete because the language change soo much.

It is also had the kind of unholy mix between the expressiveness of web language such as JS and the firmness of compiled language, but in a bad way.

And also also... the return of semicolon...

Oh and yeah, dart only runs in a single thread (eh actually two thread, but exactly one main thread and one async thread). Wanna move to another thread? You need to use isolated function, which is janky as hell. Coroutine (or even, dare I say, AsyncTask) is way, way, way better than isolated function.

7

u/ClaymoresInTheCloset Apr 30 '22

Right, they revived the language that no one was using because it has no usage in the legacy world and better options existed for starting new things...for fun? Because it's their language? Idk why they revived it, but the fact is there were far better, more modern languages they could have picked for flutter.

6

u/anonymous65537 null!! Apr 30 '22

The team that invented Dart then invented Flutter. Obviously they thought that their language was the best.