[PEPr] Comment on PHP::PHP_Callback
| From: | David Soria Parra | Date: | Thu, 03 May 2007 21:29:29 +0000 |
| Subject: | [PEPr] Comment on PHP::PHP_Callback | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-46593@lists.php.net to get a copy of this message | ||
David Soria Parra (http://pear.php.net/user/dsp) has commented on the proposal for
PHP::PHP_Callback.
Comment:
Of course it reduce 2-4 lines to code to one, but I don't think it's a
great simplification to build a PEAR package from that.
I think it's okay to argue a little bit with the language. For sure it
allows type hinting, but thats not what people expect from a dynamic typed
language. To stand for that argument you have to add Integer, String, etc
classes too, just for the type hinting.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=482
--
Sent by PEPr, the automatic proposal system at http://pear.php.net