On Thu, 26 Feb 2004, Philip Fletcher wrote: > Thanks Marcus > > Looking at the documentation, the comments and method name (for hasMore()) > do not have the same meaning - the comment is saying 'does the current > element exist?' and the method name says 'are there any more elements?'. > > This makes the api very ambiguous - hasMore() and isValid() have very > specific meaning in many languages wrt iterators.
I agree. The semantics are fairly different. Let's not confuse them. -Andrei "This isn't right. This isn't even wrong." -- Wolfgang Pauli -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php