Comment Comment by colinjoy As someone who dabbles in code without too much of an idea of what he is doing, using pure functions whenever possible helps me reduce cognitive complexity and makes the code more easily testable. parent colinjoy 3 years ago