"Programming isn't a profession like law or medicine"
You mean like medicine with huge student debt and lower payments from the insurance companies? You mean like law with huge debt and a law school bubble with too many lawyers?
Every industry has it concerns. Every parent would tell there child not to major in what they did. Pilot, doctor, teacher, even investment bankers (long hours) etc. What makes you think programming is any different. If you cant work around managements annoying nature in programming, than I don't think you can manage it in any other industry.