Re: Ensuring a method exists
- From: "Javier" <javuchi@xxxxxxxxx>
- Date: 27 Sep 2006 15:02:48 -0700
Going on with this matter, and because I don't fully understand all the
answers you have done:
How would you implement an interface using CLOS with lots of different
methods? For example:
interface Collection {
void add (Object o);
void remove (Object o);
...
}
Tipically, your are going to implement lot of methods, say for example
10 or more.
The main reason for having an interface is that you are going to
provide classes based on it, and let the door open for the user to
implement new ones. So, if it doesn't make sense to implement them on
CLOS because Lisp resolves this problem in a different way, how is that
way? I mean, how is resolving Lisp this problem? Or, if CLOS doesn't
have this problem, why it doesn't?
(Note: I'm not interested in discussing but learning, so Ken please
avoid insulting again.)
.
- Follow-Ups:
- Re: Ensuring a method exists
- From: Pascal Costanza
- Re: Ensuring a method exists
- From: Jack Unrue
- Re: Ensuring a method exists
- References:
- [CLOS] Ensuring a method exists
- From: Didier Verna
- Re: [CLOS] Ensuring a method exists
- From: Lars Rune Nøstdal
- Re: [CLOS] Ensuring a method exists
- From: Didier Verna
- Re: [CLOS] Ensuring a method exists
- From: Ken Tilton
- Re: [CLOS] Ensuring a method exists
- From: Christophe Rhodes
- Re: [CLOS] Ensuring a method exists
- From: Ken Tilton
- Re: [CLOS] Ensuring a method exists
- From: Pascal Costanza
- Re: [CLOS] Ensuring a method exists
- From: Ken Tilton
- Re: [CLOS] Ensuring a method exists
- From: Pascal Costanza
- [CLOS] Ensuring a method exists
- Prev by Date: Re: All paths through a tree
- Next by Date: Re: All paths through a tree
- Previous by thread: Re: [CLOS] Ensuring a method exists
- Next by thread: Re: Ensuring a method exists
- Index(es):
Relevant Pages
|
|