[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Do we have to worry about the names of generic functions?
From: |
Paul Jarc |
Subject: |
Re: Do we have to worry about the names of generic functions? |
Date: |
Wed, 12 May 2004 12:14:19 -0400 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) |
Andy Wingo <address@hidden> wrote:
> Consider a generic, `output'. I assert that x.output() in Python does
> not clobber the namespace.
Agreed, because that name exists only within "x.".
> If output is a bound method, that means it will be invoked as
> output(x) -- exactly the same as (output x) in guile.
Not exactly - generics sharing the same name don't conflict with each
other, but they can conflict with non-generics. (AIUI; my
understanding of GOOPS is rather limited.)
paul
Re: Do we have to worry about the names of generic functions?, Rob Browning, 2004/05/13