As you'll learn later in this blogpost, there are some footguns and caveats you'll need to keep in mind when using -e.
I am so glad this article is not following blind recommendations, as lot of people usually do. It's better to handle the error, instead closing the script that caused the error. I think the option -e should be avoided by default, unless there is a really good reason to use it.