I'm short-sighted and astigmatic. At my age (67) I need to wear bifocals for just normal everyday stuff.
But I also have a special pair of computer specs, that were suggested to me by my optician. They're bifocals, too, specially prescribed so that the upper part of the lens is exactly right for the distance that I sit from my computer screen, while the lower part is set to my reading distance for documents on the desk beside me.
They're wonderful, and I'd recommend the idea to any specs wearers who also use a computer regularly.