This question has some problems. First of all, we require your actual code.
...
is not an acceptable replacement for any actual implementation. Second, some context (both within and surrounding) the code you have provided would be a useful means of turning this very nebulous opinion-based question into something concrete and reviewable. Third, and finally, for my own benefit, I'm confused what you mean when you say "But now there's two places to edit...", but this confusion is likely a result of the fact that you've put example code rather than real code in your question. —
nhgrif 10 secs ago