I am in England, and I think (personally) our economy is doing a little worse than most of our European buddies. I say that in response to the question you posed about why I am working in a coffee shop? It's very simple: It pays more
I've done countless work for corporations and freelance over the years. I am not old (late 30's) and have enjoyed some very good levels of salary and benefits over the years. I have the entire time always been aware of, and had to compete with to some extent, the offshore market - Especially where freelance work was concerned. I was often at an overheads disadvantage simply being resident in England in many cases, but I still won some work.
The last 2 years it has become harder and harder, with that salary ceiling dropping hard and fast because software developers seem to be taking what ever is largely offered just to stay in the industry I think - I too did think about dropping pay 66% just to stay in the industry full time. The emergence of AI has definitely play a part here as it can remove a large chunk of the "skill" and time needed in writing code to begin with (for most tasks anyway), so there's less jobs available. As there's an imbalance of qualified people to do the jobs willing to drop pay, companies have less incentive to also offer high pay now.
So thats how I at least arrived at this juncture. I earn £29,800 a year making coffee for Costa Coffee (For this sites American readers, they are a UK competitor to Starbucks in terms of scale and popularity) - I went in at management grade due to past large team management experience. I keep an eye still on IT work, but there's too many companies offering full time roles for software work in my City wanting what I consider the moon on a stick (Full-stack C# and Vb.Net) with experience of agile development, lifecycle management and QA etc - Salary offer is £22,500 - £24,000 typically. I would be saying for fully qualified (and actually competent) it should be a little over double that.
I have had a few interviews and while nobody has outright called me old at my age (remember, I am still in my 30's), one recruiter did regard my skills as "legacy" as development is and always has been largely Windows centric for me - Either Desktop or Windows Server. I should appeal to corporations who move slower and have larger more complex systems, but nobody's biting quite the same way they used to.
I've always keep my skills up top date. I was the last of a generation to finish University before the smartphone explosion happened so we never learn how to make phone apps. I of course learn this later on, as well as several other languages and also become fully proficient in Linux server management as well as Windows Servers.
Maybe it will improve when bean counting hiring managers realise a machine can't quite build a software solution from scratch like I could do. Until then, would you like a flat white with a splash of vanilla..?
Well, I can't speak to the state of the industry in a country that I don't live in or work in, but I see a couple of things in your post that raise questions for me.
First, when it comes to AI, I would say that AI has had very little impact on programming or development jobs. It's just not widely adopted yet. Sure, for simple chatbot stuff it's great. And it certainly has potential to do even more. But right now, in the US, very few companies are relying solely on AI for programming or development needs.
I work for a company that does AI engagements with customers. We develop POC solutions which ultimately can turn into production ready AI solutions. But very few of the companies I've worked with have actually turned on AI in production environments. And many companies are looking for people who understand how to deploy and use AI to maximum benefit.
You comment about C# and VB.net seems a bit odd. These are basic programming skills in my opinion. Most of the people I work with know both C# and Visual Basic, it's almost like these are beginner skills needed for modern application programming. If you don't know those languages, what programming languages do you know? C# and VB are languages of the Internet and cloud computing. It's not like they are obscure like Cobol or Fortran (not obscure but perhaps not as common as it once was).
No, you're not old, not by a long shot. But I will say that Corporations, even the bigger slower ones, are not sitting still. They are moving to the cloud and developing cloud-first applications. It doesn't sound like that's a sweet spot for you as far as skills. Windows apps are dying in large corporations and companies are moving to more agile applications than can live on-premise or in the cloud.
If I were you, I would spend some time and get some certifications in cloud computing and also in AI cloud services. This is where I'm seeing many corporations investing time and money. And they need people to make it all happen.
While I understand the coffee shop is paying a reasonable salary, I'd say in the US even an entry level programmer will make much more than what you posted. Add benefits to that equation and it's hard to justify working as a barista, at least at the income you listed.