Software engineering has advantages such as remote work option, it is easier to change at any time unlike hardware, and software is less costly if computer and electricity is not included in the cost.
Yeah, but I will tell you something from my experience. There is always high demand for electrical/hardware engineers but not enough candidates which provides a good job security. I feel hardware/electrical are less valued and taken for granted, I encourage new EE grads to go into this domain. Also, these roles requires to learn coding as well; to write firmware, test automation, data analysis. So we have a good amount of job flexibility.
Software engineering has advantages such as remote work option, it is easier to change at any time unlike hardware, and software is less costly if computer and electricity is not included in the cost.