• go $fsck yourself
    link
    fedilink
    English
    224 months ago

    Why jQuery?

    Puter interacts directly with the DOM and jQuery provides an elegant yet powerful API to manipulate the DOM, handle events, and much more. It’s also fast, mature, and battle-tested.

    ‘Elegant’ my fucking ass. Convenient? Sure. But it’s far from ‘elegant’.

  • @popcar2
    link
    74 months ago

    This is really cool. It seems to be getting hugged to death though, I’m getting a lot of server errors when I attempt to open most apps.

  • @[email protected]
    link
    fedilink
    English
    34 months ago

    Why? Have we forgotten what the purpose of an OS is?

    A cloud OS is the stupidest thing I’ve heard this week.

    • @[email protected]
      link
      fedilink
      14 months ago

      People do things for no reason dude. It’s fun to just run with something and escape reality for a while.

    • @[email protected]
      link
      fedilink
      84 months ago

      If someone reaches for jquery as an abstraction layer over JavaScript in 2024, I immediately question everything else. You’re pulling in the jquery library for a set of features, followed by hundreds of features you won’t use.

      Absolutely no reason why you can’t recreate the same features in JavaScript, with a much smaller footprint.

    • @jeremyparker
      link
      34 months ago

      Jquery is just shorthand, really – unless things have changed in the last decade (which doesn’t seem likely in the world of technology! /s), jquery is basically a way to stop writing document. GetElementById() and element.classList.add() over and over.

      Don’t get me wrong, that shorthand was a valuable and unique addition to a tool set – jQuery code was much easier to read and maintain than vanilla js, for sure. But I feel like now that websites usually have build steps, using jQuery involves a lot more effort than just not using it, that, with its kind of naive approach to DOM manipulation, is where the hate comes from, imo. It’s probably still a great choice in a traditional LAMP stack build.

    • @jeremyparker
      link
      4
      edit-2
      4 months ago

      I started using VPNs and Tor a lot more over the last couple of years, and I had no idea how many websites are just like, “Oh, we can’t collect data on you? Then you can’t use our website.”