Hello,

On the one hand - seems logical.
On the other hand - makes things less clear when reading the code.
With parenthesis, the code is made explicit, so you treat code like given
in an example as a code smell.

I'd encourage people to always use parentheses. But overall I'd say the
change makes sense.

чт, 28 мар. 2019 г. в 15:33, Bob Weinand <bobw...@hotmail.com>:

> Hey,
>
> I feel like concatenation having the same precedence than addition and
> subtraction is promoting programmers to make mistakes. Albeit typically
> easy to catch ones, it is a quality of life change at least.
>
> Hence I'm proposing a RFC changing the precedences:
> https://wiki.php.net/rfc/concatenation_precedence
>
> Bob
>


-- 
Arvīds Godjuks

+371 26 851 664
arvids.godj...@gmail.com
Skype: psihius
Telegram: @psihius https://t.me/psihius

Reply via email to