In my experience, these are perpendicular skill sets. A marketing mind is not the same as a programming mind. Understanding how to solve an algorithmic problem and understanding what makes people buy are two distinct things.
With respect, I can't agree with this statement.
I personally do both very successfully. I'm a high paid programmer working on software products that impact millions of people...and I have has also successfully marketed products and affiliate offers, including getting 4000 email signups for a product within 2 weeks.
Literally every technical CEO in the valley from Bezos & Musk & Zuck down to the small players at companies like Close and Pipedrive are able to understand both.
I just had to dispel this because I can't articulate how much I disagree with this statement.
People can be good at more than one thing. In fact, you need to be good at >1 thing in a way that most people struggle with in order to be any sort of success (e.g. understanding the limo industry + software at the dawn of the internet; understanding physics of launching rocks + convincing gov't to give you grants).
For OP: If you're 17, do what you think you can be best in the world at...work on whichever you are drawn to. Both are valuable. Start where you can be strongest then branch out.