I'm a new user to both StackOverflow and this Meta Stack Overflow.
I recently found an error in an otherwise very helpful algorithm posted by User Tri Q. The algorithm is linked here:
My question for the board is: I only have 25 reputation points on StackOverflow. How can I inform this insightful user that he made an error in the algorithm, and my intended fix? Typically I'd add a comment to this post and recommend my fix, is it better to add an "answer" to the post with a reference to his post below?
I'm currently in the middle of determining a fix to the problem, but a summary of the problem is that that after the child is found in
foundChild = FindChild(child, childName, childType); it is possible for the
for loop to continue iterating and overwrite the found child.