Re:Concurrency Patterns: Java, Scala, and Clojure
by lucifer on Friday October 23, 2009 @08:58AM
(#898656)
"By reusability, I mean is how reusable (composable) is a piece of concurrent code that you write with each of these languages/paradigms? In the case of Java, it is almost never reusable unless it is completely encapsulated."
How is this for reuse in Java? (And do note the "state" field...)
How is this for reuse in Java? (And do note the "state" field...)
http://github.com/richhickey/clojure/blob/master/src/jvm/clo...