Which of these do you prefer, and why?

foo := proc(T)

...

if type(s,`+`) then
r := map(foo,s);
fi;

...

end;

foo := proc(T)

...

if type(s,`+`) then
r := 0;
for x in op(s) do r := r+foo(x); od;
fi;

...

end;



Please Wait...