• hblaub@programming.dev
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    10 months ago

    There are two many programming languages and frameworks. There is a lot of doubling. Why the heck is there Dart/Flutter? Just use Javascript/TypeScript. Why Swift, when you have D, Go, Rust, Python with type annotations, etc.? In my opinion, just too much waste. Of course, in a niche, like OS development or embedded, there can be actually a need for hyper optimized special solutions. But the “mainstream” rest?

    • lysdexic@programming.dev
      link
      fedilink
      English
      arrow-up
      5
      ·
      10 months ago

      There is a lot of doubling. Why the heck is there Dart/Flutter? Just use Javascript/TypeScript.

      This blend of comment was once targeted at TypeScript. Still is.

      The truth of the matter is that the purpose of tools is to help people achieve their goal. JavaScript is awfully broken, and many people have been investing their time to come up with solutions to fix it. TypeScript is one of the approaches, but Dart is another one. JavaScript doesn’t go away because it’s the de facto standard to run arbitrary code in a browser, and it carries decades of legacy code. Thus people try and try. TypeScript is now on its 5th major release, and there’s still plenty of work to improve upon the mess that’s JavaScript. No wonder corporations like Google invest their resources building alternatives.