News for hackers. Stuff that matters.
Re:Double Brace Initialization in Java by chamakits on Sunday August 19, 2012 @12:47AM (#4403223)
I had known of this before, and I'm fairly certain I've used it before. However, one thing I didn't consider is the equals issue commented on the site. As attractive as it may be to use, I think from now on I will refrain from using the double braces.
Re:Double Brace Initialization in Java by irahul on Sunday August 19, 2012 @01:09AM (#4403267)
> I had known of this before, and I'm fairly certain I've used it before.

I consider myself pretty liberal when it comes to coding standards and being clever, but this is something that will badly piss me off. I can't quite put my finger on why I feel so, considering I am perfectly fine with most of the perl tricks. For example, https://gist.github.com/3392206 looks good to me(you are using Perl, you should know about list and scalar contexts).

Re:Double Brace Initialization in Java by jrockway on Sunday August 19, 2012 @01:37AM (#4403322)
Ah yes, the goatse operator.