News for hackers. Stuff that matters.
Re:Paul Graham: Lisp in Web-Based Applications (2001) by shiro on Wednesday May 13, 2009 @03:32PM (#607477)
> 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.

There are no comments on this comment yet.