GNOME Bugzilla – Bug 625777
Adding a null-coalescing assignment operator ??=
Last modified: 2010-08-01 20:29:48 UTC
Since we have "??", and since we have combined assignment versions of the other major binary operators (+=, *=), it would seem sensible to have a null-coalescing assignment operator. Perl has similar constructs "||=" and "//=".
This has already been proposed and rejected.
See bug 608904.
Fair enough. *** This bug has been marked as a duplicate of bug 608904 ***