list literal gotcha and suggestion
pbenedict at apache.org
Thu Oct 1 07:53:11 PDT 2009
You've been very understandable throughout this discussion; I
appreciate your public willingness and candor thought. Stephen and I
(and probably a few others) have raised a few "gotchas" / "puzzlers"
that appear to be pretty serious with the current proposal. Will you
be able to take those into consideration before anything gets cemented
in stone, and perhaps share any proposed updates regarding those?
On Thu, Oct 1, 2009 at 9:44 AM, Joshua Bloch wrote:
> Of course you can do it with static methods and varargs, but it won't be as
> pretty. That's the whole idea of syntactic sugar: make common patterns easy
> to read and write.
> On Wed, Sep 30, 2009 at 12:24 PM, Paul Benedict
>> My apologies for not seeing that you already responded with a similar
>> suggestion. I am glad to know that you and others are not alone in
>> wanting static methods.
>> PS: To those managing the Java language, please let's try to avoid
>> having two ways of doing the same thing. If this proposal can be done
>> with static methods and varargs, I find the utility of literal
>> collections to be sorely diminished.
More information about the coin-dev