From: Vassil Nikolov on 8 Apr 2010 23:33 On Tue, 06 Apr 2010 08:14:33 -0700, Ron Garret <rNOSPAMon(a)flownet.com> said: > ... > (format nil "~A~A" :make name) This resembles a keyword argument too strongly, and increases the mental load of the programmer to recognize that it isn't one. At the very least say (format nil "~A~A" ':make name) instead. ---Vassil. -- "Be careful how you fix what you don't understand." (Brooks 2010, 185)
From: Pascal J. Bourguignon on 10 Apr 2010 06:08 Vassil Nikolov <vnikolov(a)pobox.com> writes: > On Tue, 06 Apr 2010 08:14:33 -0700, Ron Garret <rNOSPAMon(a)flownet.com> said: >> ... >> (format nil "~A~A" :make name) > > This resembles a keyword argument too strongly, and increases the > mental load of the programmer to recognize that it isn't one. At > the very least say > > (format nil "~A~A" ':make name) > > instead. (format nil "~A~A" 'name name) ; name is already interned... -- __Pascal Bourguignon__
First
|
Prev
|
Pages: 1 2 3 4 5 6 7 Prev: compiling a function from a form: is there a better way? Next: ECL 10.4.1 |