3 ms·
While I don't think readability is a problem if you are judicious with your use of reader macros, the real problem is that they don't play well with editing too
by chaitanya 11y ago
While I don't think readability is a problem if you are judicious with your use of reader macros, the real problem is that they don't play well with editing tools e.g. all those nice Emacs shortcuts like forward-sexp, backward-sexp, etc. won't work correctly with any JSON that you write in your Lisp files.
Forget JSON, the problems are evident even when using something like CL-INTERPOL, which makes minimal changes to the read-table.
- sklogic 11y agoYes, of course you need your IDE to play well with the reader macros. That's why I use PEGs to construct such macros and to provide a feedback for the IDE while parsing (e.g., token locations, definitions, etc.).