I use both for various species. I use them as grow-out cages, but I don't like them for most adults. Plastic cages (such as animal plastics, RBI cages, and boaphile cages) are superior IMO even for ball pythons and other common "tub snakes", but they come with costs.
I currently have all of my crested geckos in plastic tubs, but want to switch them all out to glass cages, and make planted vivariums with bioactive substrate. I find maintenance/cleaning required with a naturalistic/bioactive setup to be so much easier with frequent poopers like crested geckos.