I'm still early in my career in aerospace and am mulling over the same decision. What's stopping me is I'm already older and I do actually enjoy the work, whereas coding with no relation to a physical thing is not appealing. Currently thinking of trying to get into some inbetween role but haven't stumbled on something that struck me as an obvious path yet.
I simply enjoyed coding more. The engineering job had its upsides too, especially the hardware we used, made for some good stories I could never have as a programmer again;-)
Still, I don't regret the switch, CS is just more my thing.
I was already a my mid-thirties and had a child when I finished my computer science degree.
What convinced you to make the jump?