Re: [RFC] switch expression

From: Date: Sun, 29 Mar 2020 20:59:19 +0000
Subject: Re: [RFC] switch expression
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-109422@lists.php.net to get a copy of this message
Hi Stanislav > 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. https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/switch https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-8#switch-expressions In fact, the approach in the RFC is almost equivalent. Ilija

« previous php.internals (#109422) next »