Combining Delegate and Functions

Jesse Phillips jessekphillips at gmail.com
Tue Jun 30 08:38:21 PDT 2009


So looking at a post on StackOverflow about D gatchas:
http://stackoverflow.com/questions/743319/why-isnt-the-d-language-picking-up/1059780#1059780

"functions that form closures or are attached to objects (ie. methods) are not the same as regular functions, instead they are called delegates, and you must be aware of the differences."

I seem to recall the distinction was going to be going away or minimized. Is this already done? Will it be going into D2?



More information about the Digitalmars-d mailing list