On 11/20/06, Nikodemus Siivola nikodemus@random-state.net wrote:
(concatenate-symbol pkg "FOO-" (incf *my-counter* i) "-DING-" i "-" tail) would be preferable to (format-symbol pkg "FOO-~D-DING-~D-~A" (incf *my-counter* i) i tail)
FWIW, in my limited experience, I prefer concatenate-symbol (though I've grown fond of SBCL's name symbolicate :)) because I can more easily cater to the so-called "modern" lisps:
(symbolicate '#:foo- (incf *my-counter* i) '#:-ding- i "-" tail)
With format-symbol, the control string would only add noise.