4 ms·
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 _)]
by shaunxcode 17y ago
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?)
}
- JoelMcCracken 17y agoI 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.