I've been programming since 1965. I did programming 'cause I liked it. Then I started taking high-paying 3 month contract jobs and it all went to hell. Once I escaped the electronic sweatshop I started to enjoy programming again. These days, on the verge of retirement, I do almost no contract programming (unless the job is very interesting) and today I am involved in a small number of projects that totally interest me.
What is the outcome of marketing your skills on social media, etc.? Mostly un-inspired positions at un-inspired companies doing mediocre work. Then countless interviews, competition for the position based on irrelevant criteria, judged by people who don't have a clue. These positions are better suited to people who are inspired by money and benefits, not programming. Old programmers like myself seem to be more interested in job satisfaction than money. And making these jobs hard to get doesn't increase their desirability once you get them.
IMNSHO, a good thinker using Rational Rose or Embarcadero and optimizing the output can outperform and out-create most of the young code-doggies. I'd rather be the one creating the tools like Rational or Embarcadero.
Old programmers have special skills and talents that younger programmers haven't developed yet. Companies who want these skills and talents might be better off recognizing that the pool of people with these talents are different from the just the general pool of programmers. If they really want these skills and talents, they should use the right bait and fish in a different pond.
But then, if you are an old programmer looking for income, the price you have to pay is the effort needed to market yourself where the interest is.