3 ms·
The modern web hasn't really advanced beyond the amateur, but the quality of the underlying tools and languages (css, javascript) is absolutely horrible. If th
by jacquesm 6y ago
The modern web hasn't really advanced beyond the amateur, but the quality of the underlying tools and languages (css, javascript) is absolutely horrible.
If this crap had had to compete with anything else in the marketplace it would have never flown. It is so bug prone and user unfriendly that it is hard to describe. We will also likely never get rid of it.
Just a few samples:
https://javascriptwtf.com/ https://javascriptwtf.com/
As for CSS, if the goal was to create a pixel perfect way to lay out webpages it may have succeeded, but the whole idea of an information web where rendering was supposed to be the problem of the consumer went out the window.
- folkhack 6y agoI understand that type can get weird in a loosely typed language but, personally, I find modern ECMA/Typescript to be lovely languages to work with. CSS also got a huge bump for me when everyone started consistently supporting flexbox. But hey - it's super easy to hate on web languages/markup/stylesheets while linking to JS quirks so here we are.
- cxr 6y ago> If this crap had had to compete with anything else in the marketplace it would have never flown. It competes every day. The morass of terrible tooling is explained by the reason that so many other nice-to-have resolutions to common problems don't materialize: even though things suck, improving them is a problem for someone else to solve. Anyone who complains about the state of things (or doesn't) and then proceeds to do things the broken way is contributing to the problem. The JS example is overstated. People who are slinging code around with a nary a care for what types the objects have deserve everything they get; if you end up in a situation where x can be either a string or a number or a list and you're somehow freely making comparisons between them, then the problem is on your end, and it's way further up the pipeline than where the equality comparison token appears. FWIW, HyperTalk wouldn't have fared any better[1]: > Data types usually did not need to be specified by the programmer; conversion happened transparently in the background between strings and numbers. Note that this is not a defense of mainstream professional web development. I probably abhor it more than you do. But the problems need to be connected to their source and not misattributed to a popular punching bag just because it's easy to score points that way. 1. https://en.wikipedia.org/wiki/HyperTalk https://en.wikipedia.org/wiki/HyperTalk