I don't get it.
-
-
Replying to @wycats @justinfagnani and
Twig/Underscore: Templating Language Template (in my mind): something that could be still successfully parsed with a HTML parser
2 replies 0 retweets 0 likes -
-
Replying to @TheLarkInn @justinfagnani and
Vue's templates most definitely have extraneous syntax. They just pretend it's HTML.
3 replies 0 retweets 6 likes -
Replying to @wycats @TheLarkInn and
We don't pretend it's validator valid, but it's syntax valid and can be parsed by any standard compliant HTML parser.
1 reply 1 retweet 13 likes -
Replying to @youyuxi @TheLarkInn and
It's of course HTML, but it's additional syntax that means conditionals and loops that isn't defined by HTML.
1 reply 0 retweets 1 like -
In other words, there might be some benefits to repurposing HTML syntax, but in spirit it's extraneous syntax just as {{
#if}} is.1 reply 0 retweets 1 like -
I think you are optimizing for parsers rather than humans. It behaving like HTML means not having to ramp up on a dsl.
1 reply 0 retweets 4 likes -
Replying to @stubbornella @youyuxi and
I'd say the opposite! Cramming the syntax into HTML makes it harder for humans to know which is real HTML and which is a conditional/loop.
1 reply 0 retweets 6 likes -
Replying to @wycats @stubbornella and
But either way, in both syntaxes you need to learn the syntax for conditionals and loops.
3 replies 0 retweets 3 likes
I think some people find the HTML syntax to have lower cognitive cost and others find the curly syntax cognitively cheaper. YMMV.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.