Interesting that in order to place my vote on this forum I must use computer hardware designed by (a) EE(s) and many pieces of software written by Software Engineers.
Strictly speaking, the first programmable machines were mechanical (see Wikipedia's article on "computer programming"). One could argue that the science of programming *could* exist, and historically did exist for a period of time, without electronics.
Practically, however, computers (and therefore computer programming) could not be what it has become without electronics.
This whole question of which is better, though, seems to me like asking "Which is better, bridge designers or street/road designers?" What is the point of a bridge without a road, or a road that stops at every natural obstacle because there are no bridges? What's the point of software designers without hardware designers, or visa versa?