Re: [DECLINED] match expression RFC
| From: | Jakob Givoni | Date: | Sun, 17 May 2020 15:35:07 +0000 |
| Subject: | Re: [DECLINED] match expression RFC | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-110198@lists.php.net to get a copy of this message | ||
On Sat, May 9, 2020 at 6:08 PM Ilija Tovilo <tovilo.ilija@gmail.com> wrote:
>
> I will take the next few days to think
> about how to move forward.
>
Hi Ilija,
Have you thought about what you'll do next?
I think the part about introducing "match" as an alternative to
hashmaps and nested ternaries is a no-brainer - there seemed to be
pretty good support for that.
Regarding an actual alternative to the horrible "switch", maybe we can
introduce it using "case/when" like in SQL?
If you're sure you're not going to pursue one of these options, maybe
let us know, so someone else can give it a go based on your excellent
work and while it's still fresh :-)
Best,
Jakob