While I agree that in principle you can learn to code at any age, I think this article misses the entire point of
every "learn to code" article. Whether it's kids, women, oldies etc etc.
Coding is a calling. You can learn anything if you have the calling for it. If you learn because you 'should' (ie, it's encouraged by others and or/money) you will end up being average at it, at best.
Coding is not for everyone, it's a pipe dream. It's not because all modern tech is based on it that you should learn it -- same way as Lewis Hamilton doesn't need to be a car mechanic to be a good driver.
I've started programming at 12yo, got my first paid gig at 16, and I haven't stopped being a 'programmer' (as they used to be called) since, and I'm now 49yo. I can't imagine NOT doing any 'coding'. In that time I saw countless average/bad programmers (and there are more and more of them) who /probably/ would have been better trying to follow a calling of their own...
As far as having a successful career as a programmer, I think there is one major trap I've seen many, many programmers fall into. And that is 'mind sclerosis' -- ie refusal to evolve with the time/tools. People who are actually quite/very good at one set of tools sometime refuse to evolve and down these favorite toys in favor of what is perceived (often, they are) as inferior replacements. Problem is, 5 years down the line, they are no longer employable. I've seen that too many times to count.
The NEXT trap is to realize that your time is limited. You can't learn everything and you have to be very, VERY selective on the set of tech you want to invest your time in. Don't bangwagon on stuff -- ask yourself whether it's likely to be a selleable skill -- if not, don't waste time on it.