Re: [RFC] [VOTE] Object typehint RFC
| From: | Michał Brzuchalski | Date: | Wed, 17 May 2017 17:12:59 +0000 |
| Subject: | Re: [RFC] [VOTE] Object typehint RFC | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-99083@lists.php.net to get a copy of this message | ||
2017-05-17 18:43 GMT+02:00 Levi Morrison <levim@php.net>:
> I'm not intending to derail the thread but let's consider your statement:
> your proposal constrains us to choosing something Java-like instead of
> having all options. Think closely about that: you are advocating that we
> constrain us to Java-like enums when there are many, many options and we
> get what for that trade-off? A simpler way to implement variance for the
> object-type only? No thanks.
No offence Levi, it was just an example of enums implementation.
Maybe I should not now point it in this thread.
My apologies.
--
regards / pozdrawiam,
--
Michał Brzuchalski
about.me/brzuchal
brzuchalski.com