You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minor typo: code sample p136 has TreeNOde instead of TreeNode
In the samples that follow (p 138, 139) you have a variable name $it and $rii for the TreeIterator and RecursiveIteratorIterator. They're a bit short for some, but it's a bit confusing because the next section talks about the "it" node - which isn't $it. So by the bottom of page 139 you're recursively iterating $it looking for "it" which is an instance of ItTreeNode... In short, some more expressive variable names here would really help clarify the example, I think!
The text was updated successfully, but these errors were encountered:
Minor typo: code sample p136 has
TreeNOde
instead ofTreeNode
In the samples that follow (p 138, 139) you have a variable name
$it
and$rii
for the TreeIterator and RecursiveIteratorIterator. They're a bit short for some, but it's a bit confusing because the next section talks about the "it" node - which isn't$it
. So by the bottom of page 139 you're recursively iterating$it
looking for "it" which is an instance ofItTreeNode
... In short, some more expressive variable names here would really help clarify the example, I think!The text was updated successfully, but these errors were encountered: