Programming HTML in Rust may have annoyed some gods.
Programming HTML in Rust may have annoyed some gods.
![the background blur](https://i.imgur.com/kG0fa6c.jpg?thumbnail=256&format=webp)
![](https://i.imgur.com/kG0fa6c.jpg?format=webp)
Web development is, and will always be, just a game of finding increasingly
cursedunique ways to concatenate HTML strings25 0 ReplyOne day I'll find a reason to use
html!
. One day.4 0 ReplyThe problem is that what everybody really wants is parameterization, not concatenation. But most solutions therefor are flaky even if they exist.
2 0 Reply
All programming was intended to take place within Rust
11 0 ReplyI have seen frontends written in c#. Nothing surprises me anymore
7 0 ReplyAfter experiencing struts everything else looks great in comparison
2 0 Reply
This looks like how React components are written if you make the weird choice of not using the JSX syntax extension for React elements. I wonder if you could make a JSX-like DSL with Rust macros. JSX really helps for making this kind of stuff bearable.
2 0 Replyafter a quick search ... https://github.com/bodil/typed-html also leptos uses something similar
2 0 Reply
Wow. Looks like my browser renders imgur nonfunctional at this point. Weird.
2 0 ReplyGenuine question: what's wrong with templating engines?
2 0 Reply