Abslolutely ridiculous example.
Bad advice.
This is the most inefficient way of calculating factorials.
At least if there was a warning that this is intended to show how recursion works along with a warning to novices that in the case of a factorial this definitely not the proper way of doing and why.