Hacker News new | ask | show | jobs
by jetti 2928 days ago
I'm curious as to the design decisions behind the THTML[1]. Some of them, like the double or triple arrow tags seem like they are going to be confusing in practice. It becomes a constant question or intent or typo (at least in my mind).

[0] https://tht.help/reference/thtml

1 comments

Double-arrows let you signify that the tag is different with no extra effort because it's just an extra tap where your finger is already positioned.

It also has a right directionality to imply that it has scope until the end of the line.

Triple-arrow is the same idea, but uses the convention that triple-characters are common for delineating multi-line blocks.

I get that it is convenient but it just seems like the syntax is prone to unexpected behavior from typos.