> As much as I am regularly frustrated by certain things in Java that are so > simple and elegant in other languages such as Scala, I fully support the > decision of Brian and his team to be very parsimonious in what they add to > the language and how they add it. And this sharp focus allows them to come > up with implementations that are elegant on their own and that fit well > with Java's philosophy (as far as I can tell, a lot of Scala experts agree > that the design of Java 8's streams is very strong and something that might > end up in Scala in some form). >
There's already an equivalent lazy-evaluation model in Scala, you just need to convert the collection to a Stream or an Iterator before working with it. Alternatively, you might be interested in this: https://github.com/paulp/psp-view -- You received this message because you are subscribed to the Google Groups "Java Posse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/javaposse. For more options, visit https://groups.google.com/groups/opt_out.
