I was on Anders' side on this one... but I'm sure everyone knows that. :-)
- Joe On Dec 2, 7:34 pm, Casper Bang <[email protected]> wrote: > Delegates in C# are first class methods of the language, basically > type-safe method pointers matched by signature. C# has since gotten > full Lambda expression support which I believe compiles down to the > same, except with the latter you have some more options which they > utilize for the LINQ and parallelization stuff. So no, I don't believe > many would claim they are the same thing. > > Microsoft wanted to modernize Java, adding delegates and properties to > the language [J++ was lead by Hejlsberg, coming from Delphi and who > would later move on to create C#]. That got stopped when Sun went to > court, so I guess they since felt they needed a paper stance on the > matter. There are other funny anecdotes, i.e. if Sun had not waited 10 > with adding Enum's, Miguel de Icaza would likely not have went on to > cloning .NET. C'est la vie with corporate politics and power > struggles. :) > > /Casper > > On Dec 3, 2:17 am, Serge Boulay <[email protected]> wrote: > > > > > Here’s Suns position on Delegates years ago. Curious, aren't lambda's and > > delegates the same thing? > > > *Extract from white paper* > > > “The newest version of the Microsoft Visual J++ development environment > > supports a language construct called *delegates *or *bound method** > > references*. … It is unlikely that the Java programming language will > > ever include this construct. … bound method references are unnecessary > > and detrimental to the language…. bound method references are > > *harmful *because they detract from the simplicity of the Java > > programming language and the pervasively object-oriented character of > > the APIs. “ > > > *The full article can be found here* > > >http://java.sun.com/docs/white/delegates.html -- 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.
