Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why Lisp macros are cool, a Perl perspective (2005). Parent comment
OK, you are right.
A better example is a bad implementation of a short circuiting or:
(define-syntax-rule (bad-or x y) (if x x y))
There are no comments on this comment yet.
OK, you are right.
A better example is a bad implementation of a short circuiting or:
It can't be a function because sometimes you don't want to evaluate y, but in the resulting code x is sometimes executed twice.