Curt Hibbs wrote:
> andrew.queisser / hp.com wrote:
> > Yesterday I typed in some C++ code that called a function with two
> > ints. Intellisense (auto-complete) helpfully told me that the first
> > formal parameter was called "frontLight" and the second "ringLight". It
> > occurred to me that I'm getting some semantic help here on top of the
> > obvious type safety. It seems to me that the existance of this kind of
> > support is tied to the static typing nature of  C++.
>
> I'm all for intelligent help. But I just wanted to point out that this
> particular example has nothing to do with static typing. "frontLight"
> and "ringLight" were parameter names. Any language that has named
> parameters could do this regardless of whether or not those parameters
> were typed.
>
> Curt

But only if the receiver and the types of the arguments of the function
call can be resolved. In my case it was the class LightController but
in a dynamic language the call might be ambiguous.

Andrew