Depends on the snake, where you live, and what you can afford. I prefer pvc enclosures for ball pythons hands down or rack systems for larger collections.
My personal bias is that tubs are fine for a temporary enclosure or quarantine, glass is fine for snakes that are from arid conditions but not for ball pythons, and pvc is great for anything that needs some humidity and isn't a giant beast of a snake.