but OP will 100% learn a great deal from a BS/MS in Computer Science.
You missed one of the biggest points. OP want's to do a mechanical / electrical engineering degree. So most if not all of what you're saying goes straight out the window. Actual EEs with a degree tend to go into software because they can make more money, not using much of their degree except in some specialist roles.That's not to say that they wouldn't learn the things you said they would learn in an actual CS degree. But it it's not what OP is talking about at all.
I say that as someone that does have a Bachelor and Master degree in Comp. Sci.
Sigh. It's also not what was I addressing AT ALL. The line of reasoning was:
sircastor: You (OP) already have a career in software. I’m here to tell you: you probably won’t be learning much you don’t already know.
Me: Yes they will. (Irrespective of whether they choose to study mechanical engineering, electrical engineering, or computer science.)
Fin
And FWIW, OP did mention CS as a possible field of study.