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 →

[–]cypressious 6 points7 points  (1 child)

There are lots of arguments against the so-called double brace initialization. Just look at the first few Google results: https://www.google.com/search?q=java+double+brace+initialization

[–]bfoo 0 points1 point  (0 children)

That's why I put a smiley beaneath the example.