Astigmatism correction in contact lenses sacrifices some image quality (sharpness is reduced), but it might still be better than glasses depending on how much correction is needed.
It's possible to combine spherical contact lenses with cylindrical glasses, which might give the best overall image quality depending on the exact correction needed.
Related to this, different glasses lens materials cause different levels of chromatic aberration, measured by Abbe number. The cheapest (PADC, e.g. CR-39) is one of the best you can get.