3 ms·
> If you are using functions you have to first construct the whole page and only then render it's html. Not necessarily... even using functions, you can create
by shiro 17y ago
> If you are using functions you have to first construct the whole page and only then render it's html.
Not necessarily... even using functions, you can create a 'lazy node' in the page graph to delay completion of calculation until the final renderer actually starts rendering the node.
I guess the only advantage of using macros is that you can make page generation code without consing relatively easily. I'm not sure how necessary it is for web servers, but it may matter for extremely high-traffic sites.