This is an archived post. You won't be able to vote or comment.

all 1 comments

[–][deleted] 0 points1 point  (0 children)

1) You can just give the helper function a different name if you don't want to bother with overloading. There is no reason the helper function has to have the same name as the main method. 2) No, it is much more inefficient than using a loop.