[PEPr] Comment on Text::PathArray
| From: | Martin Jansen | Date: | Mon, 08 May 2006 11:13:33 +0000 |
| Subject: | [PEPr] Comment on Text::PathArray | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42470@lists.php.net to get a copy of this message | ||
Martin Jansen (http://pear.php.net/user/mj) has commented on the proposal for Text::PathArray.
Comment:
Denny,
I still think a name without "Array" in it is better, because for the
users of the package it does not really matter how the the components of
the path are stored internally. What matters for them is a slick API,
which is why I'd still love to see real iterator support. The toArray()
method is fine, but it looks a lot less sexy than being able to directly
iterate over the instances.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=393
--
Sent by PEPr, the automatic proposal system at http://pear.php.net