[Metabang-bind-devel] binding accessors

Attila Lendvai attila.lendvai at gmail.com
Sat Jan 26 05:28:23 UTC 2008


> To overcome this I defined a :writable-accessors form that uses
> with-accessors instead of let* for its binding form.  I was wondering if
> anyone had any comments on why/not this may be desirable.

i'd suggest having :read-only-accessors and :accessors instead,
because most of the time you are not worried about performance but
setf-ing local variables can be an annoying bug to find.

> I attached a patch containing the code and unit-tests in case anyone was
> interested.

fyi, your attachment came through as pasted text which can't simply be
applied when copy-pasted.

-- 
 attila



More information about the metabang-bind-devel mailing list