It just makes for an easily understandable example. I don't think the post is advocating for the use of new/delete over smart pointers.