March 22, 2007 OT: Closures For Java | ||||
---|---|---|---|---|
| ||||
Google TechTalk about closures For java. http://video.google.com/videoplay?docid=4051253555018153503 |
March 22, 2007 Re: OT: Closures For Java | ||||
---|---|---|---|---|
| ||||
Posted in reply to Knud Soerensen | 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.
|
Copyright © 1999-2021 by the D Language Foundation