Re: [RFC] !instanceof operator - reaction measuremen

From: Date: Mon, 13 Dec 2021 11:40:02 +0000
Subject: Re: [RFC] !instanceof operator - reaction measuremen
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-116640@lists.php.net to get a copy of this message
Den man. 13. dec. 2021 kl. 12.53 skrev Oliver Nybroe <olivernybroe@gmail.com>: > What do people think about this? Would love to clarify if needed. > > Best regards > Oliver Nybroe (he/him) I find this to be more a problem to be solved by individual coding standards and cs tools. The !instanceof syntax is awkward at best, at least I find it to be so because it is mixing a symbol with a word to form an operator. The documentation already states the following[1]: > Use of parentheses, even when not strictly necessary, can often increase readability of the > code by making grouping explicit rather than relying on the implicit operator precedence and > associativity. [1] https://www.php.net/manual/en/language.operators.precedence.php -- regards, Kalle Sommer Nielsen kalle@php.net

« previous php.internals (#116640) next »