News for hackers. Stuff that matters.
Re:Maud: A Rust macro for writing HTML by vonadz on Tuesday June 07, 2022 @04:45AM (#31651472)
I think it isn't the consensus anymore because there isn't actually a "correct" solution. It's too subject to personal preference. For example, I prefer having HTML + CSS + JS all in the same file because then I know everything relevant to the component or page I'm working on is right there. I do concede that it can get extremely unwieldy if you don't separate out components though.
Re:Maud: A Rust macro for writing HTML by My71staccount on Tuesday June 07, 2022 @08:57AM (#31653552)
There is a correct solution (the one you're not doing)
Re:Maud: A Rust macro for writing HTML by vonadz on Tuesday June 07, 2022 @10:46AM (#31655125)
Sure, just like there's a correct IDE.