On 2014-06-19 16:37, Craig Dillabaugh wrote:
> Is this any better than?
>
> if(!a) a = b;
I would say it's about the same as "a ?? b" is better than "a ? a : b".
It's get better since you can use it directly in a return statement:
void a ()
{
return a ??= new Object;
}
--
/Jacob Carlborg