4 ms·
That's strangely unidiomatic. I wonder why that person didn't just write: (let ((foo ...)) (setf foo ...) (setf foo ...) ...) On a tangential no
by gruseom 16y ago
That's strangely unidiomatic. I wonder why that person didn't just write:
(let ((foo ...))
(setf foo ...)
(setf foo ...)
...)
On a tangential note, while I try to avoid multiple assignment as much as possible, I also enjoy availing myself of CL's imperativeness whenever doing so makes my code smaller or more efficient. I really like CL's multiparadigm approach. The sweet spot seems to be: allow side-effects in the small (i.e. within functions or small scopes) and be as strict as you can in composing larger pieces.