Function names and lambdas

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Apr 8 08:32:05 PDT 2017


On 2017-04-07 23:05, Ali Çehreli wrote:

> Main reason for D not supporting the name-to-pointer mapping? I don't
> think so because as far as I know this has been the case since very
> early on but UFCS came very much later.

More likely due to properties, i.e. calling functions without 
parentheses. It's more difficult to know if the function should be 
called or if the address of the function should be taken.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list