If you are doing a breadth first search the natural implementation is to push nodes into a queue, not to use recursion.
If you are doing a depth first search then recursion is the most natural way to code the traversal. However, unless your compiler optimizes tail recursion into iteration, your recursive implementation will be slower than an iterative algorithm, and will die with a stack overflow on a deep enough tree.
Some quick Python to illustrate the difference:
#A tree is a tuple of an int and a tree.
t = (1, (2,(4, (6), (7, (9)) )), (3, (5, (8)) ))
def bfs(t):
toVisit = [t]
while len(toVisit) > 0:
c = toVisit[0]
if type(c) is int:
print c
else:
print c[0]
toVisit.append(c[1])
if len(c) > 2: toVisit.append(c[2])
toVisit = toVisit[1:]
def dfs(t):
if type(t) is int:
print t
return
print t[0]
dfs(t[1])
if len(t) > 2: dfs(t[2])
bfs(t)
dfs(t)