I believe the former prime minister of Singapore studied Math, CS and worked as a programmer for some time, here is more discussion and some other examples: https://news.ycombinator.com/item?id=9419035
I had no idea he spoke Urdu and worked undercover in Pakistan o_O
Anyways, it doesn't look like he ever worked in software, despite having majored in CS (?)
The CIA was doing lots of recruiting of CS majors from A&M around that time to fill programmer roles so it’s certainly possible. At a minimum, I figured he qualified as a techie.
the current mayor of Nashville, TN is a software architect (took a sabbatical to run for office, was a 2 term city council member).
Not exactly a programmer, but a professor of computer science.
He was the mayor of the city where I lived