News for hackers. Stuff that matters.
Re:Everything about Java 8 by aardvark179 on Wednesday March 27, 2013 @12:26PM (#5450344)
Give the desire for lambdas to enable more simple concurrent programming, and the added complexity mutating the external variables in the implementation, I think they made the right choice.

If you _really_ have to mutate those variables then put them into a final array, and alter the entries in that, the same can be used if you need to do an effective pass by reference.

Re:Everything about Java 8 by spullara on Wednesday March 27, 2013 @01:12PM (#5450634)
The Atomic* classes are also good choices.