I'm increasingly anti-gym just because it's another damn barrier/excuse-factory.
If you've ever not worked out because:
1) you forgot to put clean socks in your gym bag
2) you left your gym card at home
3) your gym buddy isn't going to be there today
4) the weather is shitty and you don't want to go outside
5) car trouble
....and on and on and on...
...you should seriously consider getting some basic equipment that you can use at home. The less hassle it is, the more you will do it. I work out in the jeans and t-shirt I'm wearing half the time because if I start looking around for clean shorts and shit, I'll get sidetracked or annoyed if i can't find any. I'm never more than 10 feet away from a kettlebell most of the day, which makes it really easy to just pick it up and start doing something at any point of the day I happen to be free. A 10 min workout for me lasts for 10 minutes, not 10s mins plus 2hrs of looking for clothes, getting changed, fucking around with equipment, driving to the gym and back, picking a playlist blah blah blah. I even save time on showering - just wait 'til I'm going to shower anyway, then start on the kettlebells.
A good gym is great of course...if you actually use it for stuff that you can't do elsewhere, like heavy squatting maybe. Otherwise, they're mostly just time-sinks. (although it can be nice to get some private time for a few hours of course, if you don't have other options for that)
I have basically free membership at a bunch of gyms all over the city via work, but barely ever use 'em now. Soooo much time has been freed up as a result.