optional assignment

Walter Bright newshound2 at digitalmars.com
Sun Feb 2 03:30:17 UTC 2025


```
if (!a) a = b;
```

Doesn't seem that bad. I did some searches and found hardly any instances of it, 
though that was across the dmd sources.


More information about the dip.ideas mailing list