Re: Does one "call a method" when polymorphism is used?
- From: Mark Space <markspace@xxxxxxxxxxxxxx>
- Date: Sat, 05 Jan 2008 01:45:24 GMT
Mark Rafn wrote:
Not in common use. Where precision is needed, I'd recommend "declared method"
and "dispatched method". This is close to the distinction between
getMethods() and getDeclaredMethods() in java.lang.Class. Most of the time,
I like "dispatch." As A. Bolmarcich pointed out, an early term used for method invocation was "sending a message." And messages are also dispatched.
However, I saw a lot of people get confused, thinking that the message was actually passed between two separate threads of execution. So the OO community hunted around for a better term and "invoke" is what they came up with. (I think. History lesson taken with a chunk of salt.)
.
- References:
- Re: Does one "call a method" when polymorphism is used?
- From: Mark Rafn
- Re: Does one "call a method" when polymorphism is used?
- Prev by Date: Re: Does one "call a method" when polymorphism is used?
- Next by Date: Re: Does one "call a method" when polymorphism is used?
- Previous by thread: Re: Does one "call a method" when polymorphism is used?
- Next by thread: Re: Does one "call a method" when polymorphism is used?
- Index(es):