On 24 September 2010 06:47, B Smith-Mannschott <[email protected]>wrote:

>
> On Fri, Sep 24, 2010 at 04:45, Steven Herod <[email protected]>wrote:
>
>>
>> > 3) Interesting JavaFX script is being dropped.  But not even a straw
>> > man proposal of what the java syntax to the library would look like.
>>
>> I think this was covered wasn't it?  JavaBean style... so
>>
>> Rectangle {
>>  width: 10
>>  height: 10
>>  background:
>> }
>>
>> is going to be
>>
>> Rectangle r = new Rectangle();
>> r.setWidth(10);
>> r.setHeight(10);
>> r.setbackground();
>> ..
>> ..
>> ..
>>
>> *sob*
>>
>
> So, what's wrong with that? I thought the myriad Scala threads on this list
> had conclusively established that nobody needs syntactic sugar in the first
> place and besides, Java isn't really full of boilerplatey verbosity, that's
> just the haters talking.
>
> (ducks) ;-)
>
> // Ben
>
>
No need to despair, this soon coming to a JVM language near you:

val r = Rectangle {
  width = 10
  height = 10
  background = ...
}





-- 
Kevin Wright

mail / gtalk / msn : [email protected]
pulse / skype: kev.lee.wright
twitter: @thecoda

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to