Comment on XHP: A New Way to Write PHP (from Facebook)Comments−shaunxcode16yAnother awesome example of the lengths people will go to compensate for a lack of macros.I would so much rather see (define table (html-table (map [tr (td _)] rows)))then$table = <table>; foreach($rows as $row) { $table->appendChild(<tr><td>{$row}</td></tr>); (assuming this is even possible?) }−JoelMcCracken16yI was just about to make this comment.I think one of lisp's adoption problems is that it makes things that are just simply amazing become commonplace.
Comments
Another awesome example of the lengths people will go to compensate for a lack of macros.
I would so much rather see (define table (html-table (map [tr (td _)] rows)))
then
$table = <table>; foreach($rows as $row) { $table->appendChild(<tr><td>{$row}</td></tr>); (assuming this is even possible?) }
I was just about to make this comment.
I think one of lisp's adoption problems is that it makes things that are just simply amazing become commonplace.