[PEPr] Comment on PHP::PHP_Callback

From: Date: Thu, 03 May 2007 19:06:26 +0000
Subject: [PEPr] Comment on PHP::PHP_Callback
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-46592@lists.php.net to get a copy of this message
Joe Stump (http://pear.php.net/user/jstump) has commented on the proposal for PHP::PHP_Callback. Comment: Bertrand: Please keep comments on topic. You shouldn't respond to a proposal and say "You should have coded X instead". Also, PHP cycles are easy to scale so keeping things lean and fast is kind of a moot point. If this was a DB package I'd see your point. As it stands, this is an interesting package. As Joshua Eichorn pointed out, this simplifies writing better code. I like two things about it: 1.) It reduces 4 lines of code to 1. 2.) It allows me to do: public function foo($a, PHP_Callback $callback) { } I find both of these reasons make this a legitimate package. I did, however, have issues with the CS, which I've already addressed. 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

« previous php.pear.dev (#46592) next »