Prototype of Ownership/Borrowing System for D

Doc Andrew x at x.com
Fri Nov 22 14:48:11 UTC 2019


On Friday, 22 November 2019 at 09:10:43 UTC, Robert M. Münch 
wrote:
>
> So, the name is related to how it's done, not what it gives to 
> the user. That's like selling a thing and stating: "Look this 
> was milled, turned etc." but not telling the customer what it 
> does.
>
>> `@ownerBorrow` just seems a little awkward :-)
>
> Well, why not make it catchy: @borrow
>
> I'm sure 99.99% of all people would get a hint what this is 
> about.

I always kind of thought @live would be a transitional thing 
until we figured out safe-by-default, and ownership/borrowed 
pointers would just be "the way."


More information about the Digitalmars-d mailing list