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

Ary Borenszweig ary at esperanto.org.ar
Wed Sep 4 07:42:27 PDT 2013


On 9/3/13 4:05 PM, Andrej Mitrovic wrote:
> On 9/3/13, Ary Borenszweig <ary at esperanto.org.ar> wrote:
>> When you do "import foo.bar" you are importing arbitrary code...
>
> 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.

Yes you know: you look at the source code, or the documentation.

>
> This feature is never going to fly, but people are just going to argue
> this forever..

I know, I'm just trying to defend this point of view.


More information about the Digitalmars-d mailing list