1. 15
  1.  

  2. 7

    s/Type/Build/ and I would be happy. Their ninja, google tools franken build system is horrible. I lost interest in Dart after seeing it’s guts, it was less work to port a product written in Dart than getting OpenBSD support upstreamed.

    1. 2

      Outside of google, for frontend dev, I don’t see any point in using Dart over TypeScript. Pretty likely that even the type system will be better in TS.

      1. 1

        I was interested in Dart for a while but honestly I would rather just use Python or JS.

        1. 1

          Meh, I’m not really motivated by this example. I get that if you have a million lines of code maybe this kind of error happen a few times (putting an unintended object in a collection which happens to have a method of the same name as the other items). But there are also other, more harmful types of error that will shoot you in the foot in that situation, and you can’t statically detect them.

          1. 3

            The interesting thing about type systems is that most small examples are terribly uninteresting.

            Also, I think safety concerns of that kind are overstated. Sure, things end up in the wrong place in dynamic programming languages, but most of the operations we do in day-to-day programming are very simple x-to-y mappings. Just like there’s large C systems, there’s large Ruby and JS systems that work just fine.

            Type systems get really interesting when they provide proofs that are just impossible without. For example, in Ruby, I never know whether a value is shared between programming parts or not - and it can become very hard to prove. Rust and Haskell (through different means) bring back local reasoning here, as their type systems do the tracking for me. But that only becomes interesting once my codebase exceeds a couple of thousand lines of code.

          2. 1

            I think this would be a lot more encouraging if Dart had widespread use outside of Google.

            1. 1

              flutter could well become dart’s killer app

              1. 1

                First it needs to get past the alpha stage.

                1. 1

                  yes, but it’s getting there! google already uses it internally, so it’s pretty solid in terms of quality; it’s more missing features and api flux that are keeping it in alpha.

                  1. 2

                    The API flux is a big deal though.