rather than critique someone, why not write a better version yourself. It wasn't meant to be bullet proof, but a solution for the time. Something he could later build apon.