thanks, matt. i never knew "tail recursion" was special. but let me clarify my little example:
public final class ClassX { private ClassX child; public void FunctionX () { ... child.FunctionX(); ... }; };
this is what i was asking about. see, "this.child" is the same class as "this", and it's implementation of FunctionX is the same.
it doesn't seem like "recursion" to me because it isn't really calling itself... well, it kind of is, but its calling an implementation of itself in another instance of the same class.
the biggest reason i was wondering about this is just for commenting code. i don't want to use words like "recursive" if i should be saying something else. plus, its just out of curiosity.
jason |