Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107676 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 12801 invoked from network); 25 Oct 2019 00:14:25 -0000 Received: from unknown (HELO localhost.localdomain) (76.75.200.58) by pb1.pair.com with SMTP; 25 Oct 2019 00:14:25 -0000 To: internals@lists.php.net References: Date: Thu, 24 Oct 2019 23:00:55 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Posted-By: 94.8.59.3 Subject: Re: [PHP-DEV] [RFC] anti-coalescing-operator From: marandall@php.net (Mark Randall) Message-ID: 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