• rimjob_rainer
    link
    fedilink
    arrow-up
    32
    arrow-down
    6
    ·
    4 months ago

    I wish they would replace JavaScript with something that was made for what it’s used for. JavaScript should have died years ago.

    • hswolf@lemmy.world
      link
      fedilink
      arrow-up
      13
      arrow-down
      1
      ·
      4 months ago

      Sometimes it’s hard to detach It, specially dealing with web dev.

      The browser expects JS, since JS was made for the browser, so you make a front in JS. But now you need a back, and hey, you already have all models and repos in JS, might as well make the back with JS.

      It’s a vicious cycle. Honestly, JS is fine for either if you are component enough (ie. not using stuff like “is-number”), don’t get the hate on It.