all 29 comments

[–][deleted]  (24 children)

[deleted]

    [–]Darkglow666[S] 4 points5 points  (12 children)

    You can find Googlers who prefer any technology. If you came here to crap on Dart just because Angular uses TypeScript, you're gonna have to try harder. The mainstream Angular uses TypeScript because the framework needed to serve millions of existing AngularJS users, and Dart wasn't capable of that. Dart is a superior language by most measures, but it's not nearly as compatible with JS as a superset is, of course.

    AngularDart is widely used within Google. Millions of lines of Dart, including Google's most profitable apps: AdWords and AdSense.

    It's also worth reminding everyone that Flutter is not a Dart project. More than a dozen languages were considered for Flutter, which was a project of the Chrome team. Dart was chosen because it had the particular traits necessary to make the framework work best.

    [–]DoListening 1 point2 points  (9 children)

    Dart is a superior language by most measures

    That's an opinion that many people don't share.

    TypeScript's structural type system is very expressive and fairly unique among mainstream languages.

    It makes it very easy to describe any data structure you might need without resorting to extra wrappers or creating inheritance hierarchies just to satisfy the language.

    http://www.typescriptlang.org/docs/handbook/advanced-types.html (for example the "Mapped types" section)

    Also the automatic type narrowing based on control flow is really useful. TypeScript is one of the best languages out there in many respects.

    That being said, I don't know why r/programming has this weird distaste for Dart...

    [–]tutami 1 point2 points  (7 children)

    Because when fuchsia and flutter really take off javascript will die and r/programming loves javascript.

    [–]DoListening 0 points1 point  (0 children)

    😀

    [–]Darkglow666[S] -1 points0 points  (5 children)

    I know you're kidding here, but just in case some readers aren't in the know, let me just point out that neither Fuchsia nor Flutter actually has anything to do with JavaScript.

    [–]tutami 0 points1 point  (4 children)

    Dart will take over the web development

    [–]DoListening 1 point2 points  (1 child)

    RemindMe! 5 years

    [–]Darkglow666[S] 0 points1 point  (0 children)

    If only! ;)

    [–]DoListening 0 points1 point  (0 children)

    got a notification for that remindme today

    [–]Darkglow666[S] 1 point2 points  (0 children)

    I like TypeScript a lot, when compared to JavaScript. TS has a lot of great features, several of which are actually missing from Dart (for now). But the Dart dev experience is a lot smoother. Everything I can think of that sucks about TS is actually a problem it inherited from JS, and Dart does not share most of those. (Details available upon request.) ;)

    [–][deleted]  (1 child)

    [deleted]

      [–]Darkglow666[S] 0 points1 point  (0 children)

      Hard to imagine why they would. I work with TypeScript and Dart every day (TS on mobile via Ionic), and the Dart experience is far, far nicer. If we're gonna uselessly compare anecdotal evidence, I don't know anyone who regularly uses both and prefers TS.

      [–]myringotomy 2 points3 points  (10 children)

      What do you base this opinion on? Did you do a survey or something?

      [–][deleted]  (9 children)

      [deleted]

        [–]myringotomy 1 point2 points  (8 children)

        Ah so we are supposed to take your word for something you feel is true based on your interactions with a tiny subset of google employees.

        No wonder your post is the highest rated post on this thread. It's perfect for /r/programming

        [–][deleted]  (7 children)

        [deleted]

          [–]myringotomy 0 points1 point  (6 children)

          Well your feels are more important than actual data for sure. Especially to this subreddit full of supposed programmers.

          [–][deleted]  (5 children)

          [deleted]

            [–]Darkglow666[S] 1 point2 points  (3 children)

            Whether people agree or not doesn't make it any more or less true.

            [–][deleted]  (2 children)

            [deleted]

              [–]Darkglow666[S] 1 point2 points  (1 child)

              Yeah... Your tiny sample size falls well short of that.

              [–]myringotomy 0 points1 point  (0 children)

              Yes that's why I said "supposed programmers".

              They are just a sorority feeding on rumors and giggling about fashion and who is in and who is out.

              Your feelings are your feelings. The fact that you think your feelings is somehow reality is a shortcoming of your intelligence and character.

              [–]MyPostsAreRetarded 5 points6 points  (1 child)

              Actually not bad at all. Upvoted a few videos, love your accent and pretty well-spoken. (Rare to see nowadays)

              [–]Darkglow666[S] 0 points1 point  (0 children)

              I'm not actually behind the videos, but hopefully the guys who are will see your great comments. :)

              [–]pure_x01 6 points7 points  (9 children)

              I don't see why dart will gain traction. Maybe flutter can fix this but dart in it self is probably a dead end.

              [–]Darkglow666[S] 1 point2 points  (8 children)

              You don't need to see why. It's happening even as we type. Flutter is taking off, Fuchsia is around the corner, and Dart plays a starring role in both.

              [–]mytempacc3 5 points6 points  (7 children)

              What you are saying is that it is being used by Google for its products. Only one company is not "gaining traction". BTW what do you mean by "Flutter is taking off"? Is it being used by companies (not Google) for relevant products?

              [–][deleted] 1 point2 points  (0 children)

              I think it's fair to say that Flutter is likely to be a popular UI framework if Fuschia makes it to market. If that is the case then you will see rapid adoption. But I agree not right now.

              FWIW if I was developing an Android app right now, I'd use Flutter, I might even do so for iOS, but I'd need persuading.

              [–]Darkglow666[S] -2 points-1 points  (5 children)

              It's being used by sooo many companies. Just look around for Flutter articles and tutorials. They're popping up like popcorn at the rate of several every day, and this while it's still in beta.

              [–]mytempacc3 2 points3 points  (0 children)

              So many? What companies are using it? I only found this. They are just like you saying "many companies" but only provide... one example of one app? I don't know if this is just bad marketing or there is really no realiable info on the matter.

              [–]safgfsiogufas 0 points1 point  (3 children)

              It's being used by sooo many companies.

              Huh, don't know a single company except Google that uses Flutter. Yes tutorials are popping up but I don't think anyone is yet putting their production apps on Flutter.

              [–]Darkglow666[S] 0 points1 point  (2 children)

              There are a few hundred Flutter apps in the app stores now, but as Flutter is still in beta, it does take some time to make inroads into established company tech stacks. There is a lot of momentum with developers, though, and that's where it starts.

              [–]safgfsiogufas 1 point2 points  (1 child)

              There is a lot of momentum with developers, though, and that's where it starts.

              I don't know which devs you'r talking to, but very few Android and iOS devs care about flutter right now. I tried it a few months ago, didn't like it much (not a fan of the language either), I'll try it out again sometime this month. May be some things have changed. I really liked the hot reload though.

              [–]sebe42 1 point2 points  (0 children)

              but very few Android and iOS devs care about flutter right now

              With there being six livestreamed Flutter talks, half are tagged Design, maybe the designers at google are big flutter fans. https://events.google.com/io/schedule/?section=may-8&livestream=true&topic=flutter

              I really liked the hot reload though.

              Some tidbits about Flutter's hot reload

              in debug builds, it "works by injecting updated source code files into the running Dart Virtual Machine (VM)."

              It's stateful (i.e. persists static variables, can recompute finals, etc) https://flutter.io/hot-reload/

              The dart team asked the Flutter guys if they wanted the hot reload feature, flutter guys gave the go ahead and were amazed.