That's a completely vague explanation. Which specific control flow behavior is required for full closure functionality? What about exception propagation isn't being done correctly? I've never heard this point before. I thought closures were specifically about "closing" over the environment of the outer function.
Would you consider JavaScript to have the correct control flow/ exception propagation behavior to qualify as supporting full closures? How about Scala, Clojure, Haskell, C#, and the old FX Script? On Sep 14, 2:10 am, Alexey Zinger <[email protected]> wrote: > Folks, I mentioned this earlier, but no one seemed to pick up on it. The one > real difference between closures and constructs like Java's SAM's or > anonymous functions is how control flow is treated. Not just in trivial > cases like branching and looping, but think about continuations, exception > propagation, etc. This is where Java comes up short if you wanna do those > things. My understanding is that Java 8 syntax doesn't address this, so > we're still stuck using whatever we had before, but with cleaner, nicer > presentation (syntax). Again, not something I consider a deal breaker, but > an important factor nonetheless. -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
