i’m not saying you should generate websites the way that i generate websites, but whenever i look at how other people generate websites i am very unimpressed

is

<element name="h1" namespace="&xhtml;">
<value-of select="atom:title"/>
</element>

really better than

<h1>{{ post.title }}</h1>

?? no. but also yes

@Lady I mean, we have many languages that exist mostly because they are more tasty syntactic sugar than their predecessors. So. I have opinions, even if you disagree. 😉

Follow

@aschmitz oh i don't mind tasty syntactic sugar, but i am bothered by taking something structured and treating it as tho it is unstructured. it feels like a lot of templating languages do this latter thing

@Lady I think JSX does this okay (though it has other problems), in that you can only template things in reasonable places, not, like, half over a tag and also body content (like a fully preprocessed templating language might do, which of course would invite various vulnerabilities).

@aschmitz i wish JSX was better standardized and less wedded to reactive rendering usecases but i’m otherwise not opposed to it!

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.