3 ms·
Dart should have been dead a long time ago, Flutter saved it. It was supposed to be the successor of JavaScript, when that ended up like everyone expected, Dar
by PedroBatista 4y ago
Dart should have been dead a long time ago, Flutter saved it.
It was supposed to be the successor of JavaScript, when that ended up like everyone expected, Dart was pretty much dead until Flutter appeared and started to have some initial success.
So.. Dart by itself, what does it offer for developers/industry to change? My take is: nothing.
- aristofun 4y agoIf offers a statically typed yet flexible and safe language with familiar intiutive syntax and a decent dev.x
- ezekg 4y agoI thought that the DX was rather poor last time I played with Dart (not Flutter). Package docs suck when it comes to describing a package’s API and types (not sure if this is the package’s fault but I was expecting Go-like docs). I expected better from a typed language. I also didn’t have a nice time with the package manager. I had to manually create the pubspec.yml file to even start installing packages. Maybe I missed some crucial docs, but I was rather annoyed throughout the whole experience.
- PaulWaldman 4y agoWhat does it offer that Typescript doesn't?
- cercatrova 4y agoCompiled performance
- sebazzz 4y agoGiven the javascript frameworks we run these days apparently that isn't an issue.
- cercatrova 4y agoOr it is an issue and why everyone is moving to compiled languages for JS tooling, like Turbopack announced yesterday as a Webpack alternative written in Rust, to join other tooling such as esbuild, SWC, and Rome.
- aristofun 4y agoTypescript is another amazing language. They don’t compete.
- rufius 4y agoBut not in a more meaningful way than TypeScript which has the advantage of being a superset of JavaScript.
- Rochus 4y ago> Dart should have been dead a long time ago, Flutter saved it. Not that simple. The new Dart is a completely different language than what they published 2011 als an alternative browser language. But as far as I've seen today's Dart is not really faster than TS/JS on V8; thus, the difference is primarily the different syntax, which is probably an insufficiently important argument for most users; the cross platform AOT feature is great but apparently not important enough for the majority of people.