jastrachan | 13 Jul 15:18 2004
Picon

Re: [groovy-dev] vote: def keyword


On 13 Jul 2004, at 14:12, Chris Poirier wrote:
> Hi Jakob,
>
>> so cause I know you are all busy (me too), I wanted to suggest doing a
>> vote to settle on the issue.
>
> This was decided several weeks ago.  Actually, it was pretty much
> decided months ago, come to think of it.  It's just a matter of finding
> the time to implement it....  "any" will be a regular keyword type
> marker.

BTW Chris could you refresh my memory - can we deprecate 'def' if we 
always use a return type on a method declaration?

e.g.

any cheese() {
     ...
}

String wine() {
     ...
}

could be valid syntax (no def required)?

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


Gmane