Jochen Theodorou a écrit :
> Frank Wierzbicki schrieb:
>   
>> On Sat, Sep 13, 2008 at 12:49 AM, Charles Oliver Nutter
>> <[EMAIL PROTECTED]> wrote:
>>     
>>> // MyCode.java
>>> import static DynamicUtil.Dynamic
>>> public class MyCode {
>>>   public void doSomething() {
>>>     String a = "foo";
>>>     Dynamic(a).someOtherMethod();
>>>   }
>>> }
>>>       
>> That looks very convenient indeed.
>>
>> This is only barely on-topic, but have you guys seen the proposed C#
>> syntax for this sort of thing?
>>
>> http://blogs.msdn.com/charlie/archive/2008/01/25/future-focus.aspx
>>     
>
> this method or cast based solution is very convenient, because you 
> actually don't need to change anything in the language... especially no 
> new keywords!
>   
Hi blackdrag,
furthermore the dynamic bloc defines an instruction and not an expression.
> bye blackdrag
>
>   
Rémi
_______________________________________________
mlvm-dev mailing list
[email protected]
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to