• shyguyblue@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    6 months ago

    Ugh, you just unlocked a core memory: Every element is assigned a class, but they are unique to the element, thus defeating the whole damn point of the class functionality?!

    • Kelly Aster 🏳️‍⚧️@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

      Oh jeez, it’s coming back to me now. Yikes, what a terrible use of classnames. I’m sure they thought they had a good reason for it, but to me it’s kind of a failure of a feature implementation if most of your userbase ends up not just ignoring it but outright deleting it because it’s useless to them and just creates clutter.

      Dreamweaver did have one saving grace. It had this code editor cleanup mode that removed empty and redundant tags, and at one point they added a neat option to remove Word document tags! From what I remember, it was pretty accurate and helped clean up a lot of shit. Unfortunately, it was unable to clean up code that it created itself.

      • shyguyblue@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        6 months ago

        Ahhh! I had a client a hundred years ago that did a “save as webpage” from a Word doc and wanted me to clean it up… I’m like, “it’ll be easier to throw it out and start over”, so that’s what i did. Then i charged her for the time it would have taken, had i bothered to try and clean up the code. She was happy to pay it!?