Have always preferred the glass door to shower curtains. Partly depends on the design of your bathroom and the shower area. If you have shower/tub combination like we do for the guest bath, doors really aren't practical and the shower curtain/liner makes the most sense. Plastic shower liners tend to get mold/mildew since it is difficult to dry them completely. Shower that isn't also a bathtub usually has some sort of doors, some are hinged while others have a sliding door.
We have a hinged glass door in the master bath that works great, easy to clean and keeps the water from splashing all around the bathroom. There is a slopped floor in the shower, so the water easily drains when not in use. Not a fan of those 'open' looking showers I see online or those TV home design shows. Seems the water would splash all around and create a slippery floor when you step out of the shower. Also need to dry the floor more frequently to keep the water from doing damage to whatever is beneath the flooring.
Regardless of the exact configuration of the bath/shower, good idea to make sure there is adequate ventilation so it dries without developing mold/mildew.