3 ms·
> > Now see, that's much clearer. > From the perspective of someone who knows Lisp, perhaps. For what it's worth, as a perpetual novice programmer who knows L
by JadeNB 10y ago
> > Now see, that's much clearer.
> From the perspective of someone who knows Lisp, perhaps.
For what it's worth, as a perpetual novice programmer who knows Lisp a little and Nim not at all, I also found qwertyuiop924 (https://news.ycombinator.com/item?id=12617350 https://news.ycombinator.com/item?id=12617350 )'s example much clearer. (EDIT: Of course it's totally anecdotal, but I thought that it might be worthwhile to have a data point from someone who is not an expert in either language.)
- qwertyuiop924 10y agoYou'll find lispm's, from a sibling comment, even clearer: (defmacro debug-it (&body expressions) `(progn ,@(mapcar (lambda (expression) `(format t "~%~a: ~a" ',expression ,expression)) expressions))) That's Common Lisp. I probably could have made mine similarly clean, but I was too lazy to do so :-). Anyways, hats off to lispm, because he's the one who actually did it.