Actors vs. components

I also realize that this code will crash the editor when I reopen my project :frowning:
So, how could this simple BP be so complicated to implement in C++?