Dart

Name a flaw.

Attached: dart-logo-for-shares.png (2650x1488, 66K)

Other urls found in this thread:

jaxenter.com/angular-typescript-dart-115426.html
gist.github.com/paulmillr/1208618
twitter.com/NSFWRedditVideo

the name

google

Why? It's descriptive. Dart is light, fast and sharp.

They could've name it Fart. Light and fast.

Its not gentoo.

It could've been named Bullet then too

Rhymes with fart

Dart is shit, but Flutter is good. I wish they had used Kotlin instead of Flutter.

Yeah that's a pretty big one

Does Kotlin support hot reload?

it's not named Gun

Kotlin can be compiled to JS and then can be launched in a browser (like Dart does) so yes, it can.

Ugh... Dart supports hot reloading natively, no need to transcompile into anything. That alone means that you can't use the same kind of workflow with Kotlin that you would use with Dart.

WebAssembly destroyed it!

>But this is not a full replacement forJavaScript; rather, Wasm is only intended for performance-critical portions of page scripts.
Umm... I don't think so, hun.

this. Google will close this project as they did with others before

>what is go
Judging from Go, I think their in house languages are usually pretty good, Dart isn't an exception

>go
>good
choose one

Zero mind share

But it is good baka faggot

Shut up cuck, it sucks.
>error handling
kek
>no generics
kek
>pretty slow
kek

Come on

>>error handling
I'll concede that one

>>no generics
Don't need em, generics are harmful bloat, and interfaces are close enough if you need them

>>pretty slow
It's as fast as it needs to be

keep parroting everything you read, you sound like a real free thinker

more like fart lmfao

Are you denying any of those points?

The language absolutely nobody needed.

smokin darts and breaking hearts

jaxenter.com/angular-typescript-dart-115426.html
Google's own Angular team chose TypeScript over Dart years ago, which is extremely telling.

They tried to replace JS with DartVM and failed. Then tried pivoting to Dart.js but got eclipsed by TS. Without good JS interop, the only people who can reasonably use Dart are those with the resources to piss away deving their own ecosystem, AKA Google.

They chose it because they had an army of javascript monkeys and TypeScript is just an extension of Javascript. Besides Dart was not mature enough back then. Dart 2.0 released in 2018 bringing lots of improvements. These days, large parts of Google Ads (formerly AdWords), which is the biggest revenue source inside Google, are written with AngularDart. Dart has a first-class citizenship on Fuchsia, too.

>interfaces are generics
is that why java added generics? lmao

Case in point then?
Dart isn't compatible with the fuckloads of support TS has, which makes it unviable for most users outside of Google.
They try so hard to run away from JS' problems, they abandon the ecosystem altogether and lose mountains of libraries and existing support. They can only cope with such as losses because they have copious amounts of fuck you money.

The point is that Dart is a language that is for writing fast and native UI-driven programs for mobile devices and desktops that can also be compiled into fast Javascript for web browsers. It's not a web first, everything else second kind of solution like Javascript. Just because Angular didn't choose to rewrite their entire JS codebase in an entirely different language doesn't mean that Dart doesn't have any usecases.

Absolutely nothing as a language. It's actually superior to typescript in a lot of ways, it's what JavaScript should have been replaced with a long long time ago.
Unfortunately it just never caught on. There was nothing special about it when it came out and javascript wasn't the "end all be all" language for retards.

>error handling
Handle errors immediately. Anything else is fucking insane. If you don't want to, then ignore it.
>no generics
It has full generics, but you're provided the interface system because you're too stupid to use T generics properly. Most people are.
>pretty slow
Regularly faster than Java

There is ZERO reason to use Dart. By using Dart you are condemning yourself to vendor lock in for a niche language which has already failed in it's original purpose.Remember when Google planned to replace JS with Dart back in 2011ish? It was supposed to be the native language for browsers.
Fast forward to 2015, Dart is a fucking flop and the Chrome team decides to not even add native support for it. Too bad for all the people who planned their stacks around it.
tl;dr Dart is shit. Shill elsewhere Google bot.

Bullets imply danger
Darts imply fun

>Remember when Google planned to replace JS with Dart
It was NOT invented to replace JS. Here, a shot of the presentation slides when Dart was first announced in 2011.

Attached: Screenshot_2019-05-17-23-31-00-663_com.google.android.apps.docs.jpg (771x691, 74K)

20 minute compile time @2mil lines

an evolution of javascript that didn't go all that far outside of plebian static typing and async/await being the killer feature. JS has long since surpassed many of the things dart was trying to solve, sans a type system.

Thanks OP, didn't know this existed. Looks really cool.

It was supposed to, they just didn't say so much publicly because they had no way of replacing JS until Dart had enough traction to force other vendors to adopt it.
gist.github.com/paulmillr/1208618
Of course the language was a flop and those plans were abandoned, along with the language, by most of Google.

Google trash like Go. Go shill it elsewhere.

Gee whizz I sure can't wait to learn another meme of the month language that will be dead and buried in less than 3 years
If you know anything other than the C family, Java and maybe Python/JS you're a fucking retard who burns time

>Google's own Angular team chose TypeScript over Dart years ago, which is extremely telling.
The reason they chose TypeScript was that Dart had only optional static typing at the time. Dart now has forced static typing. Thats the main reason to use Dart over Javascript is its static typing and that Dart can be run as a standalone interpreter whereas Typescript is a transpile-to-js only language.

If you already know C++/C#/Java, learning Dart will take less than a day.

Searched for dart jobs in my area, no results. Dart can go fuck itself

They chose TS because it isn’t a meme language like Dart. TS has always been optionally which invalidates your crackpot theory.

Great, it means that you're still ahead of the masses. Now's your chance to make a startup and become the next Elon Musk.

Smart teams won’t write their products in Dart or any other proprietary language if they can help it. It’s too risky from a business perspective to invest in a language which is effectively controlled by a corporation.

Dart is a good noob/brainlet language more so than Python, people think Dart is different/advanced/strange/weird when its actually more understandable and the purpose of syntax is more readily apparent than Python. Python has shitty bolted-on OO, Dart has OO at the same level as Java. Python has shitty FP, high order functions are gimped. Dart has FP features as you would expect in modern languages

>Searched for dart jobs in my area, no results. Dart can go fuck itself

Attached: h1b-workers.jpg (770x533, 86K)

This. Dart is the thinking man's language.
The people who implement google's most critical web applications, like AdSense, use Angular Dart.
The dime a dozen javascript codemonkeys in charge of garbage apps get forced to use Typescript to get at least some structure and static analysis into their programs.

And then there are the poor YouTube developers who got forced to use Polymer 1 because Google knew Web Components V0 would have to be polyfilled in other browsers, making Chrome seem noticably faster than other browsers.

Flaws with the language itself:
>unchecked null pointers
>aggressively object oriented
>no extension functions or adhoc polymorphism
>no union types or algebraic data types
>no persistent data structures built in
>essentially no novel ideas or unique value proposition in the language itself

Other issues not related directly to the language:
>stewarded by a dubious company
>poor interop with any existing ecosystems
>literally no one uses it

Dart is a really unique language because of how much it has evolved over the years. It was invented by couple of Danish dudes who made chrome's v8 js engine and their background was mostly on virtual machines. Dart was designed so that it could very easily be translated into Javascript and run on all web browsers. They also made a JIT virtual machine (duh) that could run Dart code but the whole idea was that Dart would EXCLUSIVELY be used on web apps, similar to javascript.

Some time later, Google decided to scrap the idea of adding a native Dart engine support to Chrome. But instead burying the whole project, new Google devs decided to try taking the language to the complete opposite direction. They started to strengthen the typing system and making it a sound language so that Dart could be efficiently compiled ahead of time (AOT) to run programs natively on mobile devices and on desktop. Finally, they released Dart 2.0 last summer. It still has an efficient translation into Javascript, it still has JIT compilation, but now it also supports AOT compilation very efficiently.

the first thing that came to my mind when reading the name was 'fart' and 'fart' will now forever be associated with whatever product this is in my mind.

Non-nullable types are still on the roadmap.

Attached: Screenshot_20190518_025502.png (993x545, 239K)

it is slow
it is no better than Java, C++, and C#
it uses too much ram
flutter is pajeet tier ui in code abomination

Lack of algebraic data types, meaning it's worse than Kotlin, Swift or TrannyScript.
Lack of higher kinder types, meaning it's worse than Haskell.
Lack of dependent types, meaning it's worse than Idris.
So it fails at pushing the envelope, it fails at keeping up with the functional mainstream and it fails at keeping up with any of the languages it is supposed to replace.

Yeah Dart is shit, but it has a chance. I haven't given up hope.

>ui in code abomination
You can't do everything with XML layouts.

>the functional mainstream
lol

I've heard that dart was a language created in politics. Is that true?

what is fintech, the post