Den man. 13. dec. 2021 kl. 12.53 skrev Oliver Nybroe <olivernyb...@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
ka...@php.net

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to