We may not "need" Functions but they are very handy to avoid declaring another variable for an intermediate calculation or printing:
If f(x) > 0 then doThis else doThat ' can't do this in one line with Sub
If f(x) > 0 then doThis else doThat ' can't do this in one line with Sub
b = b + ...