logoalt Hacker News

josephg • today at 1:34 PM • 1 reply • view on HN

It’s not a rust thing. Custom markup is usually implemented in rust frameworks using macros. If mixing macros and logic becomes a problem, we can change how the macros are implemented.


Replies

sc68cal • today at 1:43 PM

Yes, I saw that's it's via macros, but my point is that it reminded me of some web development practices from a much earlier era, and why we moved towards doing templates and separating app logic from presentation

➕ show 1 reply