stoically/yate

`yate::html!` vs `format!`

stoically opened this issue · 0 comments

So why not just use Strings directly and format! them for templating, that's basically what the html! macro does anyway, right?

Actually, yes, that's true. I guess the only real advantage of the html! macro is that it does syntax checking of the provided html and mabye it's nicer to directly write html instead of fiddling with strings. 😅