Re: [RFC][VOTE] In Operator

From: Date: Mon, 16 Mar 2015 00:16:51 +0000
Subject: Re: [RFC][VOTE] In Operator
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-84959@lists.php.net to get a copy of this message
Hi Niklas, On 15 March 2015 at 19:31, Niklas Keller <me@kelunik.com> wrote: > Morning, > > I just opened the vote for the in operator, you can find the RFC here: > https://wiki.php.net/rfc/in_operator > Vote will be open for two weeks, counting from today. > > Regards, Niklas > I just wanted to clarify on my "no" vote, and the reason for it is that we have perfectly functional internal as well as userland implementations of array/Traversable search operations. Syntactic sugar won't really make things easier when adopting the language, and I don't like this sort of additional cognitive load either. In short, I stand firm on my "if you can implement it in userland, don't implement it in the language" idea. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

« previous php.internals (#84959) next »