Prototype of Ownership/Borrowing System for D

Jacob Carlborg doob at me.com
Thu Nov 21 16:55:00 UTC 2019


On 2019-11-21 14:35, jmh530 wrote:

> What you describe is like Kotlin's approach. The part where you say 
> there would be no null, just empty, is kind of like just renaming null 
> as empty, correct?

Yes, basically.

> Kotlin still for null in T? types.

Sure, you could have "null" as syntax sugar for representing and empty type.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list