• Seeders@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    7 days ago

    I love javascript. Shit. Just. Works.

    Even if you, the programmer, are a complete fucking moron, by god javascript will try to make your program run as long as possible.

    • ReluctantMuskrat@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      7 days ago

      Even if you, the programmer, are a complete fucking moron, by god javascript will try to make your program run as long as possible.

      I mean it might not work as intended but it’ll run and not complain!

    • arc@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      6 days ago

      Javascript doesn’t “just work”. It’s a language originally designed to glue actions to html elements and it is fundamentally broken in ways that will be never be fixed. Weird syntax, weird type coercion, horrible base types & functions, surprises galore. Even Typescript, which is basically a precompiler, is just JS with some type checking. The only reason anyone uses either is because it is ubiquitous - people have to use it.