jastrachan | 16 Nov 16:24 2004
Picon

Re: Keyword: "any" over "def"

On 16 Nov 2004, at 15:20, LARSON, BRIAN (SBCSI) wrote:
> +1 any.
> Good points below.  any feels more natural and clean.
> I guess it might bring up a few questions.  For example:
>
> any a;
> ...
> a = "b";
> if (a instanceof any)
>
> In other words, would "a" retain it's "any" "type" even after assigned.

Good point.

expr instanceof any

would probably return true for any expression. i.e. I can't think of a 
type which isn't any. Other than maybe void

James
-------
http://radio.weblogs.com/0112098/


Gmane