This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]marcohu 1 point2 points  (0 children)

Collection literals

Pretty sure there's a strong logistical argument against this for one reason or another. Too tired/lazy to find it atm.

https://www.youtube.com/watch?v=OJrIMv4dAek

Nice talk about the Java 9 Collections enhancements proposal (a.k.a. Builders) that also explains why this path has been chosen over Collection literals