I switched from being a carpenter & builder to computer programming due to injuries preventing me from doing what is a pretty strenuous job.
Did I regret it - never! I thoroughly enjoyed programming and I was paid at least 3 times as much as I ever earned as a carpenter and often 4 or 5 times as much!
I'm now retired but I still love doing a bit of programming! I started off my programming career learning 'C' and it's still my favourite language. Since then I have also worked in Visual Basic, Java, SQL & PL/SQL and more recently C# - so full circle in some ways.
All my retirement projects are written in C# these days and although I'm not a great fan of OO languages, it works!