A group class is the right buy when your dog is friendly with dogs and people, has no fear or reactivity, and mostly needs sit, down, stay and a loose leash with some distraction. It is also right when you want the weekly appointment to keep you practicing, when you enjoy the company of other owners, and when a class is the only training your budget allows.
It is a good second step too. A dog who learned the basics privately can use a class as a proofing environment, holding a down-stay while eight other dogs fidget. In Houston that class often meets in a park or a parking lot, so from May to September look for early morning or evening sessions, and check the grass for fire ant mounds before you ask for a down.
Where a class goes wrong is the dog who is not ready for it. A reactive dog spends the hour over threshold, learns nothing, and rehearses the lunging you are paying to fix. An anxious dog shuts down in the corner and the owner leaves discouraged. Neither is a bad dog; the room is simply the wrong room for that dog right now.