OT: Closures For Java
Bradley Smith
digitalmars-com at baysmith.com
Thu Mar 22 14:16:36 PDT 2007
Knud Soerensen wrote:
> Google TechTalk about closures For java.
>
> http://video.google.com/videoplay?docid=4051253555018153503
Interesting talk. When watching the examples regarding the deficiencies
with anonymous instances, I asked myself the question "How would I write
similar examples in D, and would they have some of the same deficiencies?"
I think, for the most part, D avoids many of the problems with its more
advance language constructs (delegates, scope, with, etc). With the
mixin statements, it is possible to write closures, but required use of
strings makes it non-ideal.
More information about the Digitalmars-d
mailing list