←back to thread

231 points urin | 6 comments | | HN request time: 0.804s | source | bottom
Show context
vivzkestrel ◴[] No.41834021[source]
Are we trying to reinvent web development? Last few years have been wild. We abandoned HTML CSS and JS websites that used to work just fine and ran after frontend component frameworks and now the circle is getting completed by building tools and extensions we had 20 yrs ago
replies(8): >>41834134 #>>41834511 #>>41834787 #>>41834938 #>>41835473 #>>41838662 #>>41839707 #>>41861399 #
stevage ◴[] No.41834938[source]
>We abandoned HTML CSS and JS websites that used to work just fine

Hmm. Have you actually done much web development in the last 10 years?

Building websites with raw HTML, CSS and JS 10 years ago was very much not "just fine". There's a reason frameworks were invented.

replies(5): >>41834974 #>>41835106 #>>41836202 #>>41837654 #>>41886661 #
oneeyedpigeon ◴[] No.41834974[source]
What do you consider "not fine" about websites written in "just" html, CSS, and js?
replies(4): >>41835042 #>>41835502 #>>41837471 #>>41842234 #
1. 0xFACEFEED ◴[] No.41835042[source]
1) Rats nest of non-declarative JavaScript.

2) Rats nest of JavaScript callbacks.

3) Overlapping stylesheets with !important everywhere.

4) Elements used for style not their semantic purpose (<b>, <strong>)

5) Subtle and not-so-subtle browser compatibility issues.

replies(3): >>41835110 #>>41835515 #>>41843636 #
2. bugtodiffer ◴[] No.41835110[source]
5) is the only valid reason, the rest has comparable alternative shitty things when using whatever framework
replies(1): >>41835139 #
3. 0xFACEFEED ◴[] No.41835139[source]
No amount of discipline was going to make medium-large websites maintainable back then. Today it's actually possible if the creators know what they're doing. Tooling isn't going to prevent people from doing stupid things.
4. netdevnet ◴[] No.41835515[source]
I agree with HTML+CSS+JS websites being not fine. But to be honest, js callbacks are more of a language thing than a framework thing. You don't need to use frameworks to write promises.
5. wyclif ◴[] No.41843636[source]
Also: using JS for things where HTML and CSS would have been sufficient, creating some of the issues above.
replies(1): >>41849319 #
6. mediumsmart ◴[] No.41849319[source]
this ^ - and if js at all, then only using a subset which passes jslint.com without any errors or warnings. that the score of any site should be

100 100 100 100 1.1s max paint (mobile) 0ms block 0.0xx max shift A+ headers 0 errors and 0 contrast errors webaim goes without saying of course