• tetris11@lemmy.world
    link
    fedilink
    arrow-up
    131
    ·
    10 hours ago

    I don’t know why she’s nervous, she clearly knew the spec well and didn’t have to resort to modern abstraction frameworks to serve a simple static site.

    • Blackmist@feddit.uk
      link
      fedilink
      English
      arrow-up
      17
      ·
      9 hours ago

      The absolute horseshit that things like Facebook consist of make me wonder if half the people who work on it have even made an HTML page from scratch.

    • 14th_cylon@lemm.ee
      link
      fedilink
      arrow-up
      22
      ·
      edit-2
      10 hours ago

      yeah, but if you don’t use wordpress to serve 3 static webpages, how will you get repeated business when it doesn’t get hacked in 3 years?

      • jmcs@discuss.tchncs.de
        link
        fedilink
        arrow-up
        16
        ·
        9 hours ago

        You obviously include a busy loop in JavaScript that takes exponentially more time each year. Then every few years you change the base year

        • LostXOR@fedia.io
          link
          fedilink
          arrow-up
          5
          ·
          9 hours ago

          Just make sure the exponential growth is faster than Moore’s law, or they might never notice it.

          • jmcs@discuss.tchncs.de
            link
            fedilink
            arrow-up
            4
            ·
            7 hours ago

            Moore’s law has stalled for years now. Single thread performance is still going up but taking around 1 decade to double.

            • Malfeasant@lemm.ee
              link
              fedilink
              arrow-up
              3
              ·
              4 hours ago

              That’s not what Moore’s law is, that’s one of the (former) effects of it. Moore’s law is about transistor density, and its increase remains roughly constant.

    • pivot_root@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      7 hours ago

      It’s overkill for static sites, but credit should be given to JSX for being a decent way to create DOM nodes dynamicly. You can use a JSX transformer without using React, too.