Announcing Dart 2 Stable and the Dart Web Platform
181–190 of 259 posts
Re: Announcing Dart 2 Stable and the Dart Web Platform
#182Somehow, loading a text newsfeed in less than 5 seconds is an achievement in lightweightness. Sigh.
Re: Announcing Dart 2 Stable and the Dart Web Platform
#183>we were able to ship a full-featured experience that is fully interactive in one second on modern devices and under five seconds on a modest mobile device on a slow 3G network Somehow, loading a text newsfeed in less than 5 seconds is an achievement in lightweightness. Sigh.
Re: Announcing Dart 2 Stable and the Dart Web Platform
#184Earlier quoted context omitted.
Trait is not a type, Any is just a custom trait. Types: https://doc.rust-lang.org/book/second-edition/ch03-02-data-t... You can create trait with name "Magic" or "Fuck" and it will not mean anything. Pointers is not a type also.
A pointer is absolutely a type in rust. let i: u32 = 1; let p_imm: const u32 = &i; Look at the const u32 in the type position. The rust book even refers to const and mut pointers as types.
Re: Announcing Dart 2 Stable and the Dart Web Platform
#185Earlier quoted context omitted.
> A language by itself is almost never useful, every language needs a killer app, I don't understand why this myth is still around. C++ never had a killer app to start its momentum. Neither did Javascript. Nor Java really (or maybe applets, back in the days?). Languages can succeed on technical merits alone if they come out at the right time and fix real problems that programmers experience on current mainstream lang…
I think you need at least one of three things to get a new language off the ground: 1. Extreme compatibility with the current entrenched language so you can incrementally migrate. C++ from C. CoffeeScript and TypeScript from JavaScript. Kotlin from Java. 2. A killer app (well, framework). Rails for Ruby. WinForms for C#. Applets and J2EE for Java (later Android). 3. A new platform where you must use the language to t…
What was Python's killer app?
What is Rust's killer app?
Go's?
Kotlin's?
Java is a counter example to your claim #3 since it not only does it run on all OS'es but you can also develop it on all OS'es.
Re: Announcing Dart 2 Stable and the Dart Web Platform
#186Earlier quoted context omitted.
You'd be surprised. In Flutter you construct new objects _all the time_ and mostly inline (think React without JSX). The `new`'s really do get tedious when you're making a tree like: Container( child: Column( children: [ Text("One"), Text("Two"), Text("Three"), ] ) ) It's not major but I don't think your quote is overselling it either. It is a quality-of-life change that does those things.
I love how Container takes 'child', but Column takes 'children'.
Re: Announcing Dart 2 Stable and the Dart Web Platform
#187Earlier quoted context omitted.
I think you need at least one of three things to get a new language off the ground: 1. Extreme compatibility with the current entrenched language so you can incrementally migrate. C++ from C. CoffeeScript and TypeScript from JavaScript. Kotlin from Java. 2. A killer app (well, framework). Rails for Ruby. WinForms for C#. Applets and J2EE for Java (later Android). 3. A new platform where you must use the language to t…
I listed two clear counter examples to claim #2, C++ and Javascript. I'm even tempted to put C in that list, because C was already popular before Linux. What was Python's killer app? What is Rust's killer app? Go's? Kotlin's? Java is a counter example to your claim #3 since it not only does it run on all OS'es but you can also develop it on all OS'es.
Re: Announcing Dart 2 Stable and the Dart Web Platform
#188Reading 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…
I think what killed Dart is that they emphasized their plans to make Dart a first-class scripting language of Chrome, so that you could use instead of JavaScript. This had a lot of backlash from literally everyone, I think mostly because they were bit too hard by IE doing the exact same thing just a few years before. Only after a few years the Dart team changed courses and said "never mind about that VM-inside-Chrome…
Re: Announcing Dart 2 Stable and the Dart Web Platform
#189Earlier quoted context omitted.
how are the semicolons in a for loop redundant? Without them it's extremely difficult to parse what's going on.
Typo when removing the others. Thanks for the spot. Maybe a forEach or map might be more appropriate for all those future programmers anyway though.
Re: Announcing Dart 2 Stable and the Dart Web Platform
#190Earlier quoted context omitted.
> A language by itself is almost never useful, every language needs a killer app, I don't understand why this myth is still around. C++ never had a killer app to start its momentum. Neither did Javascript. Nor Java really (or maybe applets, back in the days?). Languages can succeed on technical merits alone if they come out at the right time and fix real problems that programmers experience on current mainstream lang…
Golang and Rust also didn't have any killer app.