Re: [RFC] anti-coalescing-operator

From: Date: Thu, 24 Oct 2019 22:00:55 +0000
Subject: Re: [RFC] anti-coalescing-operator
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-107676@lists.php.net to get a copy of this message
On 24/10/2019 22:52, Ken Stanley wrote:
I'm more interested in having a negation operator for the null-coalescing operator, especially since cognatively it should be easy to discern what it does.
At the point your syntax ends up looking like you're screaming at your source code, I think easy cognition has likely gone out the window. There are plenty of much more expressive ways of doing this without introducing new syntax IMHO. Mark Randall

« previous php.internals (#107676) next »