• @Hexarei
    link
    2510 months ago

    Web development is, and will always be, just a game of finding increasingly cursed unique ways to concatenate HTML strings

    • @o11c
      link
      210 months ago

      The problem is that what everybody really wants is parameterization, not concatenation. But most solutions therefor are flaky even if they exist.

    • @etler
      link
      210 months ago

      After experiencing struts everything else looks great in comparison

  • @hairyballs
    link
    210 months ago

    Genuine question: what’s wrong with templating engines?

  • Ferris
    link
    fedilink
    English
    210 months ago

    Wow. Looks like my browser renders imgur nonfunctional at this point. Weird.

  • Macil
    link
    English
    2
    edit-2
    10 months ago

    This looks like how React components are written if you make the weird choice of not using the JSX syntax extension for React elements. I wonder if you could make a JSX-like DSL with Rust macros. JSX really helps for making this kind of stuff bearable.