Prototype of Ownership/Borrowing System for D
newshound2 at digitalmars.com
Thu Nov 21 11:10:28 UTC 2019
On 11/21/2019 12:18 AM, Johannes Pfau wrote:
> TypeScript does that. In addition, it disallows dereferencing if the
> pointer is in the undefined state. So it forces you to check a pointer
> before you dereference it. I always found that to be quite useful.
I would find that to be annoying, as the CPU hardware checks it before
dereferencing it, too, for free.
More information about the Digitalmars-d