1. 15
  1. 3

    Web design is too important to be left up to web designers (who aren’t experts on the wants & needs of every individual user, and therefore aren’t qualified to impose design decisions upon users), but web tech really isn’t up to the task of making its representations truly user-mutable: there is too much accidental complexity, unnecessary baggage, and abstraction leakage.

    1. 2

      Anecdotally, a lot of developers nowadays aren’t aware of or don’t seem to care about markup legibility. I had an argument with a coworker about styled components and tried to push for just using CSS instead, but it didn’t go anywhere. I think there’s a way now to configure it to output readable class names but it doesn’t seem to be a priority for anyone.

      I guess that’s what happens when you have a lot of build tooling and developer tooling, nobody looks under the hood until it’s all too ugly to save.

      1. 3

        I’m pretty conflicted on this.

        On the one hand, the markup these things generate is abominable, and makes it very difficult to programmatically interact with the site.

        On the other hand, it’s really nice to have a static system which prevents CSS rules from being applied where they aren’t intended. I’m working on a large, older app and it’s A) impossible for me to tell which CSS is used where and B) very hard to come up with class names and be sure they that aren’t used anywhere else. This means all I can really do is add more mud on top; refactoring or cleaning up is prohibitively expensive.

        1. 1

          I’m working on a large, older app

          Over the years I tried several different tools on said app to try to identify and remove the dead CSS but it essentially requires visiting every page and state to know for sure.

        2. 2

          Yeah, I actually like using styled components but it’s a disaster for legibility across the web. I was told at work that we keep things obfuscated on purpose to protect IP and I guess business is business but on my own time I ship legible code.

        3. 1

          You did something wrong, by using you broke firefox reader mode which display this bad thing as a title