Gym or Pilates?

dear zebras, next week after six months of rehabilitation following a somewhat complicated shoulder surgery (second surgery after multiple dislocations over the past 17 years), I’ll finally be returning to do exercise. Now I’m debating whether to join a gym or do Pilates three times a week (I’m a 32-year-old man).

For the past 10 years, I’ve been going to the gym regularly, and I really enjoy it. However, I’ve always felt that while I strengthen my muscles, there’s “something” missing in terms of my proprioception and overall body control. On the other hand, I’ve heard that Pilates isn’t always recommended for people with hypermobile EDS, but the idea of focusing on core work and improving my stability and mobility is very appealing to me.

I know every case is different, but based on your experience, what would you recommend? What do you prefer? Thanks in advice!