Re: [RFC] Scalar Type Hints
| From: | Markus Fischer | Date: | Fri, 02 Jan 2015 10:54:34 +0000 |
| Subject: | Re: [RFC] Scalar Type Hints | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80087@lists.php.net to get a copy of this message | ||
On 02.01.15 05:36, Levi Morrison wrote:
> I don't necessarily have any more insight to provide than has already
> been done, but I do want to chime in and say that I personally favor
> strict types as Nikita Popov has been advocating.
Same from me. I support all arguments so far made by Nikita; they're
well laid out, better than I could have done it.
I think the only real world usefulness is the strict typing; however:
Building on that I also think that the weak proposal using
function( (int) $a_number)
has it's place and could be very good for moving forward. It would give
both side of the camps their options.
But to move this forward in this line I think a new RFC would need to be
created because it's a different goal.
- Markus