3 ms·
I have to agree. we have way too many layers of abstraction in front end development these days. you may be able to generate a static site quickly but good luck
by gnarbarian 2y ago
I have to agree. we have way too many layers of abstraction in front end development these days. you may be able to generate a static site quickly but good luck coming back to it after 10 years.
how many of the dependencies will still be maintained? will it still even build?
back in the day tools like jQuery were a godsend for ironing out the browser incompatibility but now standards are much better.
well supported tools like that were a great abstraction point to help simplify the codebase and provide consistent functionality in an ever changing landscape of web standards and browser compatibility.
today we have the opposite problem. we have a incomprehensible mess of middleware designed to help out in some way or another but when you add it all together you end up with a 10MB hello world with 3,000 npm dependencies.
recently I decided to write a PWA using only hand rolled HTML and JavaScript and it was a pleasure. the only dependency I had to add was Nosleep.js for safari. it was extremely satisfying compared to dealing with a more modern toolchain.
- tasuki 2y agoI've had some Jekyll and Middleman sites around for ten or more years and it's fine. Now and then something breaks and needs fixing. The Ruby 2 to 3 transition involved breakage, but nothing too bad. Certainly beats having to change the header or the footer in a thousand pages, or headers getting out of sync!
- lelanthran 2y ago> you may be able to generate a static site quickly but good luck coming back to it after 10 years. If you're using Jekyll or Hugo or similar, sure. My SSG is a tiny shell script that calls pandoc. I have no problem coming back to it to fix it, but because it's so small there's literally nothing to fix. I can make it even easier if I used Makefiles.
- lemonberry 2y agoOn the other hand, if your SSG does break you still have the HTML files that can be edited by hand.