• Potatos_are_not_friends@lemmy.world
    link
    fedilink
    arrow-up
    21
    arrow-down
    1
    ·
    11 months ago

    Half of fine. Half is not. I support their cause because CSS has taken a lot of the complexities of JS with it, and would love to see HTML do more as well.

    But half this stuff is like… Noooooo…

    I’m just waking up so I might be rambly. Sorry. Let’s nail two key issues.

    #1 - The reason why html compiler languages exist is because html is still butt-ugly to write. And without a way to natively include html inside html (or pass data values to a “component”), it’s a LOT of copy/paste.

    Try making a form with 20 labels and include selectors/inputs/text fields. Include errors and help text too. That form element will be at least 400 lines of code, not including wrappers. The quantity isn’t a problem. The problem is it becomes spaghetti. It’s a lot of repeating the same thing over and over again.

    #2 - wip