Prototype of Ownership/Borrowing System for D
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Fri Nov 22 06:08:51 UTC 2019
On Friday, 22 November 2019 at 04:55:57 UTC, Walter Bright wrote:
> On 11/21/2019 4:28 AM, Jacob Carlborg wrote:
>> Why would you wait until runtime when the compiler can do it
>> at compile time?
>
> The antecedent said "it forces you to check a pointer
> before you dereference it"
You usually have an escape like "object!.memberfunction()" that
tells the compiler that the programmer is certain that he does
the right thing.
More information about the Digitalmars-d
mailing list