Not all snakes shouldn't be housed together. Garters for example, can be kept several to an enclosure. They'll even gravitate to the same hide when there's several to choose from. They're quite social.
I don't know about other breeds, so won't argue
Just wanted to point out blanket statements like that aren't always right.