• salarua@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    never doubt the elegance of good semantic HTML and a few lines of classless CSS

    • Lung@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      6 months ago

      After a few years of corporate framework stacks, I’m back to writing plain HTML/JS/CSS, and wow, what a joyful float down a river that is

      Even with no transpiler or minification, bespoke HTML is extremely efficient and pleasant to use. I write little script tags with query selectors where I need them, they get efficiently loaded on the pages that use them

      I use Hugo to do imports / classic server side rendering, and it’s stupid fast and efficient. I can compile 500 pages in 0.5s on a dualcore machine with 4gb of ram. Resources (like images) can be processed, converted into multiple file types and resolutions and then automatically cached. It feels so zen

    • pmjv@lemmy.sdf.orgOPM
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 months ago

      and I find it kind of funny, and I find it kind of sad, that the sane standards of web development are now considered elegance