• Piatro@programming.dev
    link
    fedilink
    English
    arrow-up
    72
    arrow-down
    6
    ·
    1 month ago

    Got to disagree there. Websites should work without js. Sure it shouldn’t have fancy animations or whatever but I should be able to read it.

    • schnurrito@discuss.tchncs.de
      link
      fedilink
      arrow-up
      34
      arrow-down
      2
      ·
      1 month ago

      Depends on what kind of website we are talking about.

      If it’s a website whose purpose to display an article or images or similar, I agree with you.

      If its main purpose is something that requires interaction by the user (i.e. it’s a “web app”), then it’s not a reasonable expectation that it should work without JS, and then I agree with the OP.

      • I Cast Fist@programming.dev
        link
        fedilink
        arrow-up
        21
        arrow-down
        5
        ·
        1 month ago

        Even “web apps” don’t necessarily need javascript. Is a forum a web app? It has plenty of user interaction and forums without javascript have existed since before HTML. Even stuff like Mastodon doesn’t necessarily need javascript, it can work as static pages.

          • I Cast Fist@programming.dev
            link
            fedilink
            arrow-up
            9
            ·
            1 month ago

            There’s a reason nobody uses forums anymore and it’s because static content feels and is extremely dated

            Nah, it’s more because they want everything in the same place. Reddit and Discord became the “internet forum” - 1 account, 1 site/app, every community and discussion you need. Same for Roblox

            The other reason is the dopamine hit of endless doomscrolling. If you think about it, most online interaction is: upvoting/liking, commenting, sharing; which I would argue is just a bare minimum of interactivity.

              • I Cast Fist@programming.dev
                link
                fedilink
                arrow-up
                3
                ·
                1 month ago

                Of the two, only discord actually really needs javascript to work as intended on a browser. Reddit, though? It’s still a static web forum, you don’t lose much browsing old.reddit instead of www.reddit.

                Besides, I never argued those two are not “rich web applications”, my point was that “static web content looks dated” wasn’t the main driver for people to move into centralized platforms.

      • pinball_wizard@lemmy.zip
        link
        fedilink
        arrow-up
        3
        arrow-down
        2
        ·
        1 month ago

        If its main purpose is something that requires interaction by the user (i.e. it’s a “web app”), then it’s not a reasonable expectation that it should work without JS, and then I agree with the OP.

        Web apps predate JavaScript by many years. The kids writing websites these days just don’t know how.