inetbot web crawler
Main  |  Get access to the repository  |  API  |  The robot  |  Publications  |  Usenet Groups  |  Plainweb  | 
 inetbot - Groups (beta)

Current group: comp.object.

Re: Static vs dynamic

Re: Static vs dynamic  
Isaac Gouy
From:Isaac Gouy
Subject:Re: Static vs dynamic
Date:21 Jan 2005 13:31:48 -0800
I agree. I wrote this and it's wrong:

> The "extra" we see in dynamically type checked languages has often
> been called "ad-hoc polymorphism" (more specifically "overloading").

The "extra" we see is apparent when we use ad-hoc polymorphism; but
arises because the execution context is "used to decide which function
is denoted by a particular instance of the name" (rather than the
compilation context).

> As explained by Cardelli and Wegner in
>
http://research.microsoft.com/Users/luca/Papers/OnUnderstanding.A4.pdf
>
> "There are also two major kinds of ad-hoc
> polymorphism. In overloading the same variable
> name is used to denote different functions, and
> the context is used to decide which function is
> denoted by a particular instance of the name."
   

Copyright © 2006 inetbot   -   All rights reserved