Re: [RFC] Return Type Declarations pre-vote follow-up
| From: | Stas Malyshev | Date: | Mon, 12 May 2014 07:34:40 +0000 |
| Subject: | Re: [RFC] Return Type Declarations pre-vote follow-up | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74126@lists.php.net to get a copy of this message | ||
Hi!
> Docblocks is not the solution. If you want to take profit of static
> analysis without the penalty of runtime type checking, Hack has shown the
> way with its "soft type hints".
What prevents you from doing static analysis using types specified in
docblocks?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227