Re: Little switch improvement: get the used variable

From: Date: Fri, 26 Sep 2014 18:42:19 +0000
Subject: Re: Little switch improvement: get the used variable
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-77684@lists.php.net to get a copy of this message
On 26 September 2014 18:41:02 GMT+01:00, Lars Strojny <lars@strojny.net> wrote: >That is exactly my point: instead of "optimising" the switch/case >construct which is good enough as if/elseif/else replacement I feel our >time would be better spent on thinking of polymorphism, guards and >pattern matching. That sounds a lot like the old "why are you adding features rather than fixing bugs" argument. There are any number of features we *could* add, but it's not like we have to pick one at a time.

« previous php.internals (#77684) next »