Project Elvis

bauss jj_1337 at live.dk
Tue Oct 31 19:39:17 UTC 2017


On Tuesday, 31 October 2017 at 08:15:24 UTC, Mark wrote:
> On Saturday, 28 October 2017 at 11:38:52 UTC, Andrei 
> Alexandrescu wrote:
>> Walter and I decided to kick-off project Elvis for adding the 
>> homonym operator to D.
>>
>> [...]
>>
>> Thanks,
>>
>> Andrei
>
> The Elvis operator's purpose is to make working with null 
> easier, but isn't null "The Billion Dollar Mistake"? :@

Null is not the problem. The usage of types that can be null is 
the problem.

Although only concepts, these will solve most issues with null 
references.

https://github.com/visionlang/vsl/wiki/%2316-Null-safety
https://github.com/visionlang/vsl/wiki/%2325-not-null-types
https://github.com/visionlang/vsl/wiki/%2336-Error-Handling#nothrow



More information about the Digitalmars-d mailing list