Three reasons for PEX's popularity are its flexibility (it can bend around corners), durability ... Cast iron was a common material for drain pipes in the first part of the 20th century.