News for hackers. Stuff that matters.
Re:Maud: A Rust macro for writing HTML by zaarn on Tuesday June 07, 2022 @05:47AM (#31651890)
Well, as mentioned, I've yet to find something that can replace Maud without sacrificing it's advantages (in-code inheritance, code-sharing and compile-time type-safety).

So even if it's not the "optimal approach" as you title it, it's the ergonomic approach for me because it doesn't get in my way.

Re:Maud: A Rust macro for writing HTML by rbanffy on Tuesday June 07, 2022 @07:11AM (#31652450)
For these requirements, it's indeed a good choice. It's just not a use case I've seen often.