On Sep 8, 2013 5:55 AM, "dennis luehring" <[email protected]> wrote:
>
> Am 07.09.2013 19:00, schrieb Walter Bright:
>
>> Outlining of member functions is the practice of placing the declaration
of a
>> member function in the struct/class/union, and placing the definition of
it at
>> global scope in the module or even in another module.
>>
>> http://wiki.dlang.org/DIP47
>>
>
>
> "Parameter names need not match."
>
> please don't do this - that will nearly kill any easy way of finding the
implementation,

That depends on your coding style and is not necessarily true.  Eg: I put
function names at the start of the line.

int
foo_bar ()
{
}

So all global functions are easily grep'able ('^foo_bar').

Same thing is also done with C++ outlined members ('^Class::foo_bar') and I
could see myself adopting the same for D aggregate methods too.

Regards
-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';

Reply via email to