Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sunfmin
· 4y ago · 0 comments
Similar thing in Go:
https://github.com/theplant/htmlgo
Comments
[–]
pornel
4y ago
The difference is that maud does most of the work compile-time, so `html! { div { "foo" } }` compiles into literal "<div>foo</div>" hardcoded in the program, without allocating intermediate HTMLTagBuilder objects.
[–]
hu3
4y ago
Another difference is htmlgo is just plain Go, no macros. So it plays nice with IDEs and other tooling.