Quantexa Interview Question

why is functional programming useful?