Re: [RFC] Enum proposal (yet another)
| From: | Matti Bickel | Date: | Thu, 23 Feb 2012 23:07:47 +0000 |
| Subject: | Re: [RFC] Enum proposal (yet another) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57990@lists.php.net to get a copy of this message | ||
On 02/23/2012 11:49 PM, Kris Craig wrote:
[dynamic vs strict typing via config setting]
> Yeah I agree, that was one of the things I listed under "disadvantages" lol.
>
> I guess my question is: Does this constitute a prohibitive problem, or is
> it something that we can stomach?
As a user of PHP: this would be totally confusing. To be honest that
feels like asking Haskell to become procedural on the push of a button.
It's a switch of paradigma. If I wanted that, I'd choose another language.
Also: what the last RFC on type checking
(https://wiki.php.net/rfc/typechecking and the ml) said.