Honestly as long as youre a capable person, both are viable. People will always need experienced individuals in a craft. Electricians aren't going away, but neither are devs, you'll always need people to understand things and more importantly, take responsibility for them.