Live data from Hacker News

Announcing Dart 2 Stable and the Dart Web Platform

medium.com

41–50 of 259 posts

Re: Announcing Dart 2 Stable and the Dart Web Platform

#41

Anybody using only dart for their mobile apps, how has been your experience with it? Where does it triumph & fail over RN??

Dart is a nice statically typed and compiled C-style language. If you have experience with another such language, it will feel like you already know Dart. The language compliments Flutter well, and the Flutter SDK makes it simple and easy to rapidly build a functional mobile app. Lack of certain features, like reflection, in mobile Dart creates a rift in packages you can utilize in a Flutter app. There are a few wart…

Language with "dynamic" type can't be called "statically typed".

Re: Announcing Dart 2 Stable and the Dart Web Platform

#43

This is exciting. Dart is vastly underrated due to some bad press garnered around its announcement. I'm somewhat disappointed that they've reoriented to focus aggressively on front-end and dropped their custom runtime, but I understand this was mostly dictated by market realities. After they re-establish a foothold, I look forward to the return of a fully-fledged Dart environment and ecosystem.

I thought the Flutter SDK uses the Dart runtime to enable hot reload?

Re: Announcing Dart 2 Stable and the Dart Web Platform

#44
post #36

Reading the few comments here is really interesting. Every-time there is a discussion about Dart , people talk about Flutter... they very rarely talk about Dart on the Server or on the Web... A while ago I considered using Dart to build a Web API. I was shocked by the non-existent ecosystem around this language. The Redis package has been un-maintained for almost three years now, and Angular Dart is always a few vers…

Flutter is probably the last attempt to get some Dart popularity.

When Dart came out, Google build it to improve on JavaScript, by replacing it with a whole new language. Microsoft built TypeScript to integrate with JavaScript. I thought, "MS, right? Cobbling together some JS add-on, who will use that? Better get a whole now language that doesn't carry around that baggage from JS :D"

I think Dart brought not enough new/better on the table, while having a worse JavaScript-interop than TypeScript. I mean it doesn't even have non-nullable types, which seems to be a standard feature in modern type-systems (Rust, Flow, TypeScript, Reason, etc.)

My feeling is, some people will hype it a bit, because Flutter has a better architecture than alternatives like React-Native, but with projects like Fabric and Reason, nobody will care about it in a few years.

But well, I also was wrong with my TypeScript prediction :D

Re: Announcing Dart 2 Stable and the Dart Web Platform

#46

Anybody using only dart for their mobile apps, how has been your experience with it? Where does it triumph & fail over RN??

Dart is a nice statically typed and compiled C-style language. If you have experience with another such language, it will feel like you already know Dart. The language compliments Flutter well, and the Flutter SDK makes it simple and easy to rapidly build a functional mobile app. Lack of certain features, like reflection, in mobile Dart creates a rift in packages you can utilize in a Flutter app. There are a few wart…

[deleted]

Re: Announcing Dart 2 Stable and the Dart Web Platform

#47
post #32

> The other is an interesting quality-of-life change for Flutter developers, which allows creating an instance of a class without the “new” keyword. The goal of this change is to make Flutter code more readable, less clunky, and easier to type Wait, not typing new accomplishes all those amazing things? Here i thought it was just three letters, which showed intent - hence easier to grok the surrounding code

When you’re creating a big tree of component objects in pure code (without DSLs, macros, or something like JSX), omitting the new keyword is pretty nice.

Re: Announcing Dart 2 Stable and the Dart Web Platform

#48

Earlier quoted context omitted.

Dart is a nice statically typed and compiled C-style language. If you have experience with another such language, it will feel like you already know Dart. The language compliments Flutter well, and the Flutter SDK makes it simple and easy to rapidly build a functional mobile app. Lack of certain features, like reflection, in mobile Dart creates a rift in packages you can utilize in a Flutter app. There are a few wart…

Language with "dynamic" type can't be called "statically typed".

Is C# statically typed?

Re: Announcing Dart 2 Stable and the Dart Web Platform

#49

Earlier quoted context omitted.

Dart is a nice statically typed and compiled C-style language. If you have experience with another such language, it will feel like you already know Dart. The language compliments Flutter well, and the Flutter SDK makes it simple and easy to rapidly build a functional mobile app. Lack of certain features, like reflection, in mobile Dart creates a rift in packages you can utilize in a Flutter app. There are a few wart…

Language with "dynamic" type can't be called "statically typed".

Most languages I can think of have this type, from void* to dyn to bounding by the root of the type hierarchy. Not all languages. However, what is c, c++, java, rust, go, if not statically typed? Ambiguously typed? Seems like not a useful distinction to make.

I argue static typing is the ability to static type up to 100% of a program, not the exclusion of a dynamic type.

Re: Announcing Dart 2 Stable and the Dart Web Platform

#50

This is exciting. Dart is vastly underrated due to some bad press garnered around its announcement. I'm somewhat disappointed that they've reoriented to focus aggressively on front-end and dropped their custom runtime, but I understand this was mostly dictated by market realities. After they re-establish a foothold, I look forward to the return of a fully-fledged Dart environment and ecosystem.

> dropped their custom runtime

Dart VM is very much alive, nobody dropped it - it's used by Flutter to run Dart code, used by all Dart CLI tools (and Flutter CLI tools too) and on server side underneath pub.dartlang.org (and used on server by some other companies too).

Post reply on HN