[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Questions about reflective operations on functions and methods
- To: alms@cambridge.apple.com, info-dylan@cambridge.apple.com
- Subject: Re: Questions about reflective operations on functions and methods
- From: stodghil@cs.cornell.edu (Paul Stodghill)
- Date: Thu, 01 Oct 92 16:08:29 -0400
- In-reply-to: Your message of Thu, 01 Oct 92 15:57:12 -0500. <9210011944.AA24213@cambridge.apple.com>
> That's a good question. It may be that, lacking any intercessory capability,
> these functions aren't terribly useful. I can imagine APPLICABLE-METHOD?
> being useful as a sort of safety check, even without a full meta-object
> protocol. It's harder for me to see how SORTED-APPLICABLE-METHODS would
> be useful, except perhaps by the programming environment.
> Opinions?
Yes. But first a question: how concerned are you about the efficiency of
compiler generated code? If this is a concern, then I'm not sure that you
want the language to be too reflective, certainly not in a destructive
manner. If compiler-issues are not high priority, then go ahead and make
the language competely reflective. Could be way cool. For instance, hygenic
macros would be easy to implement if the user could add methods to EVAL.
> -Andrew