1. Enthusiasm for type‑safe, DSL‑based templating that works with language tooling
- “one thing i love about rust's macros is that you can accomplish this without needing a separate file type or inventing syntax” – slopinthebag
- “you get rust's lsp support too, autoformatting, etc.” – slopinthebag
- “if you can indeed get LSP support in a custom syntax like this, that's really awesome.” – lukaslalinsky
- “This is just Twig templates, crazy. It's cool that Rust can do this out of a box” – asimovDev
2. Desire for native HTML templating mechanisms (includes, SSI, iframes, web standards)
- “Why can't we just have <includes src=\"./header.html\"> and be done with it?” – fergie
- “SSIs are not widely supported any more, and were never a part of the HTML standard” – fergie
- “Can I introduce you to iframes? Clunky but they do exactly what you are asking for.” – geoffmunn
- “XInclude… https://www.w3.org/TR/xinclude/” – pwdisswordfishq
- “SGML … had that, as well as many other things, such as type‑checked templating.” – tannhaeuser
3. Skepticism about inventing new DSLs/templating languages (learning overhead, limited usefulness)
- “That's not HTML though, you have to learn a whole new dsl that must conform to rust parser rules. So, not the same thing at all.” – dnautics
- “but you have invented syntax” – skavi
- “There was a brief period where everyone and their dog implemented mustache… but it died quickly because cross-language templating is not that useful in the end.” – riffraff
- “I've never quite got the deal with 'template engines'. I have always just done normal programming … interspersed outputting raw string literals to create the html.” – jaxxzi