To support your recommendation and redress the strawman the article postulates, the post's author could have replaced:
find . -name '*.log' | xargs rm
find . -name '*.log' -print0 | xargs -0 rm
This one doesn't need xargs.
find . -name '*.log' -delete
This one doesn't need xargs.