lambda or reified lambda

Zdenek Tronicek tronicek at fel.cvut.cz
Thu Nov 19 09:34:44 PST 2009


Hi Remi and others,

my view of annotations is that annotations add some "additional  
information" to the source code. It is "additional information" and so  
the annotations should not change the semantics.
So, should the final keyword be replaced by the @Final annotation?  
Certainly no, because the semantics of the final variables is  
different to non-final in multithreaded environment. The keyword is  
right here in my opinion.

Zdenek
-- 
Zdenek Tronicek
FIT CTU in Prague


Cituji Rémi Forax <forax at univ-mlv.fr>:

> Neal Gafter a écrit :
>> On Wed, Nov 18, 2009 at 1:37 PM, Rémi Forax <forax at univ-mlv.fr  
>> <mailto:forax at univ-mlv.fr>> wrote:
>>
>>    Hi Neal,
>>    I've just read your new proposal for lambda in Java (v0.6a).
>>
>>    A small remarks, I think that defined @Shared as an annotation
>>    is not necessary. 'shared' as a local keyword should be better.
>>
>>
>> Since it only suppresses a warning, even a context-sensitive  
>> keyword seems overkill.
>
> Neal,
> during my Java course, I don't want to have to answer to the question
> why "final" is not '@Final'.
>
> Rémi
>




More information about the closures-dev mailing list