That’s why you be both

I program and do electronics.
I cant see how teams succeed with both teams being completely separate unless you had some great communications. Heck, it’s probably a good idea to have everyone be cross trained in another team for good communications.
And a small jab at the electronics only people:
Lets be honest, it’s just wiring! It’s not like you have to build a custom robotic controller! (J/K Please don’t flame me

)