• Square Singer@feddit.de
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    I recently had to work with XSLT (may it’s inventor burn in hell for their crimes).

    That’s pretty much programming in XML. It’s probably the worst possible thing.

      • Square Singer@feddit.de
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Sadly, it was done manually. I had to migrate it to this brand new bleeding edge technology, Apache Velocity. That’s not great either, but it’s much less terrible than XSLT.

        For that task I had to learn two templating languages at the same time to port it from one to the other. Wasn’t an easy task.

    • Hazzia@discuss.tchncs.de
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 year ago

      Bro the project I’m on uses XSLT and the first time I saw it I legitimately thought I was having a stroke because I could not accept that anybody would be stupid and/or masochistic enough to actually want something like that.

      However, I’ve now made it my mission to master it because it makes me feel like a high-born wizard speaking of ancient secrets in a tower high above humanity

      • Square Singer@feddit.de
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        I totally know that feeling :)

        Well, in the 90s, XML was the future. Luckily, not a lot of this future remains.

        Just imagine what HTML would be like if JSON had been available back then.

  • Björn Tantau@swg-empire.de
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    This is not HTML. It isn’t even XML. It’s not as bad as designers putting “code” into ads, but it’s close.

    Also, ever heard of XSLT?

  • Skull giver@popplesburger.hilciferous.nl
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    No, that’s not valid HTML, but to the annoyance of pedants and purists everywhere, this is spec-compliant HTML that doesn’t even generate a warning in the validator:

    〈!doctype html>
    〈html lang="en">
    〈title>Hello〈/title>
    〈p>world
    

    Always remember to save dozens of bytes by ignoring optional closing tags and unnecessary opening tags! You’ll save microseconds of network transfer time and piss off dozens of people who inspect your HTML!

    Edit: damn you, Lemmy, stop stripping my tags! Just pretend 〈 is the real less-than character because Lemmy strips it out.