Archive for October, 2012
Every once in a while, I get into an argument about extending PHP’s
Traversable interface instead of the
Iterator interface in custom interfaces. The confusion seems to result from the official documentation of
Traversable. Let me clarify why you should give
Traversable much more love than you do right now.