4 ms·
I actually think that will change in Java 7. I will likely not be using "for" very often, and will start using higher-order functions like map and fold. The iss
by ericlavigne 17y ago
I actually think that will change in Java 7. I will likely not be using "for" very often, and will start using higher-order functions like map and fold. The issue is mainly developers for whom closures are a new concept. If they are too confused as they make their first nervous steps into the world of functional programming, if their first attempts at using closures result in a lot of bugs, then they may write off the whole thing as more complicated than it's worth.