Re:Nim Programming Language v0.15.0 released
by qwertyuiop924 on Saturday October 01, 2016 @05:42PM
(#12620017)
You'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.
> 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 )'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.)