new DIP47: Outlining member functions of aggregates

Paolo Invernizzi paolo.invernizzi at gmail.com
Sat Sep 7 11:39:10 PDT 2013


On Saturday, 7 September 2013 at 17:28:42 UTC, Jos van Uden wrote:
> On 7-9-2013 19:00, Walter Bright wrote:
>> 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
>
>
> The problem is that it is optional, so when you're reading 
> other people's
> code you'll still have to deal with inline definitions, and 
> you'll need
> a decent editor (doesn't have to be an IDE, even basic editors 
> like
> notepad++ and editpad pro support code folding and function 
> lists) to
> easily read it.

No pun intended, but having it as  _mandatory_ would be a little 
to much for people like me that don't like this proposal at all.

- Paolo Invernizzi


More information about the Digitalmars-d mailing list