Re: [RFC] switch expression

From: Date: Sun, 29 Mar 2020 21:00:45 +0000
Subject: Re: [RFC] switch expression
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-109423@lists.php.net to get a copy of this message
Hi! >> I'm still not sure why if we're calling it "switch" > > C# does it. Not to say everything they do is right but it's reassuring > that a big company like Microsoft had the same approach. No it isn't. Having two syntaxes for one keyword is not a good idea, whether Microsoft is doing it or not. I understand why they did it, but it's still not a good idea. -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#109423) next »