if you are trying to find out whether you are still going to be employed some
time later using C++ or Python, don't concern yourself with a single language's longevity.
Learn to program. Don't learn to program in .
Here is an analogy: If your car is running fine (gets you where you're
going, has good mileage, cheap to maintain, relatively safe), there is
no logical reason to trade it in for another one. None. Whatsoever.
Drive it to the ground before you even consider what make or model to
get next. But if you are already looking around thinking what car to
get, just go get it, stop asking everybody you know whether you should
do it. If you need to ask, you need to change it. It's as simple as
that.