News for hackers. Stuff that matters.
Re:Double Brace Initialization in Java by ExpiredLink on Sunday August 19, 2012 @08:49AM (#4403866)
> I'd probably use a preprocessor to transform some clean syntax into the normal Java code.

If I were in your place, I'd just learn enough Java to be proficient. Java is a very powerful language and certainly better suited for mundane tasks than your preprocessor.

Re:Double Brace Initialization in Java by mindslight on Sunday August 19, 2012 @11:05AM (#4404186)
I think you misunderstood; he wants to avoid doing mundane tasks.

There's a couple of extensible preprocessors that aim to do exactly this. They're called 'clojure', 'scala', and 'kawa'.