proposal: @mixin functions to auto-mixin at call site

Jacob Carlborg doob at me.com
Tue Sep 3 12:10:11 PDT 2013


On 2013-09-03 21:05, Andrej Mitrovic wrote:

> You are importing symbols. And when you do "foo()" you know you're
> calling a function. With the change, you'll never know what foo()
> does.
>
> This feature is never going to fly, but people are just going to argue
> this forever..

With properties you never know if you're invoking a method or accessing 
a field:

foo.data; // call method or access field?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list