Avoiding the Imperative