Adding the ?. operator to D
karabutaworld at gmail.com
Sun Sep 13 20:48:27 UTC 2020
On Saturday, 12 September 2020 at 19:26:30 UTC, Stefan Koch wrote:
> On Saturday, 12 September 2020 at 16:51:20 UTC, Per Nordlöw
>> Has there been any discussions on adding the ?. operator to
>> simplify structure matching on class trees typically found in
>> compilers such as dmd.
> Hmm the problem with .? making implicit null checks is that it
> null checks.
> Rather than encouraging a state in which existence and logic
> are statically asserted.
However, its been implemented in most places due its common use
More information about the Digitalmars-d