Take the cost of introducing new abstractions to your code in consideration.