Re: Dylan stuff
Bruce Hoult <[email protected]>
| Newsgroups | gmane.comp.lang.dylan.gwydion.devel |
|---|---|
| Message-ID | <CAMU+EkzRMYPpRbXuU=_0QRkyme5_RhkCMh2UNcGmEWhN2B-HcQ@mail.gmail.com> |
On Fri, Jan 18, 2013 at 12:17 PM, mikel evins <[email protected]> wrote: > There are other ways to do it. Common Lisp, for example, doesn't create any accessors unless you explicitly tell it to, and then you have to tell it what names to use. That doesn't guarantee that a program won't unintentionally alias accessors, but it create more opportunities to guard against it, and in practice, I've seen the problem crop up less often in CL programs. Surely that's much more because CL has separate namespaces for functions and variables? When you do... let surname = person.surname; let otherSurname = otherPerson.surname; .. there is no problem in CL because the new surname binding is not in the same namespace as the accessor function. But then you have to uglify some code with (function ...) and (funcall ...) when you want to pass functions around and use them. _______________________________________________ hackers mailing list [email protected] https://lists.opendylan.org/mailman/listinfo/hackers