• capybara@lemm.ee
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    7
    ·
    3 days ago

    This is fair enough from an idealistic view. In practice, you don’t want your entire website to shit itself because of a potentially insignificant error.

    • Kacarott@aussie.zone
      link
      fedilink
      arrow-up
      21
      ·
      3 days ago

      This is exactly why it should throw an error, to make it incredibly obvious something isn’t working correctly so it can be fixed. Otherwise you have wrong logic leading to hard to notice and hard to debug problems in your code

        • TheBeege@lemmy.world
          link
          fedilink
          arrow-up
          11
          arrow-down
          3
          ·
          edit-2
          3 days ago

          No. I don’t want to transpile. I don’t want a bundle. I want a simple site that works in the browser. I want to serve it as a static site. I don’t want a build step. I don’t want node_modules. I want to code using the language targeted for the platform without any other nonsense.

          Javascript is cancer. Fucking left pad?! How the fuck did we let that happen? What is this insane fucking compulsion to have libraries for two lines of code? To need configuration after configuration just to run fucking hello world with types and linting?

          No, fuck Typescript. Microsoft owns enough. They own where you store your code. They own your IDE. They might own your operating system. Too much in one place. They don’t need to own the language I use, too.

          “Let’s use a proprietary improvement to fix the standard that should have not sucked in the first place” is why we can’t have nice things.

          No.

    • Valmond@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      3 days ago

      Look! I bought this for free on capybaras website, there’s a glitch!

      capybara: at least it didn’t throw an error.

      / jk 😁