Animation Instance

Hello,
I’ve been following a tutorial on creating a full operational character and in the tutorial we create our own animation instance with c++ instead of just selecting the parent class when doing it through the editor. I was wonder what are advantages or disadvantage to creating an animation instance with c++?