News for hackers. Stuff that matters.
Re:Reader macros in Common Lisp by wtbob on Monday October 19, 2015 @06:02AM (#10411998)
The author does address that in the article:

> However with great power comes great responsibility, so you should learn to use them with great care. For example, while a JSON reader was a good exercise in understanding reader macros, I would never use it in real world for the simple reason that easier alternatives already exist.

and:

> There is a saying that goes along these lines: where a function will do, don't use a macro. A corollary for reader macros could be: where a sexp will do, don't use a reader macro. Yes, it might be a subjective call, but think twice before using a reader macro.

The second is particularly spot-on: sometimes you need a reader macro, but often you don't. But when you do…you do.

There are no comments on this comment yet.