Difference between imperative and interrogative code?