Re: Naming of 'weak' type hints
| From: | Stanislav Malyshev | Date: | Mon, 30 Mar 2015 17:44:11 +0000 |
| Subject: | Re: Naming of 'weak' type hints | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-85563@lists.php.net to get a copy of this message | ||
Hi!
> One thing that I think we should change is how we refer to the ‘weak’ type
> hints. The word ‘weak’ has a negative ring to it, and considering this is
I would really prefer we stop calling it "hints". It is misleading as it
is implying this is something which can be easily ignored if wished and
only provides an unimportant small piece of information not directly
related to the important things. In fact, it would either change the
type of the value or produce fatal error, it's hardly a "hint".
--
Stas Malyshev
smalyshev@gmail.com