Wearing glasses for 12 hours a day after just wearing contacts most of the time for a few months can be jarring. I always forget how tiny it makes everything look!
But it's not the only option. Another option is a bigger screen with bigger fonts. And that's a lot easier to adjust to than glasses. I know because I tried glasses first and then went to a bigger monitor.