No but you can make things easier to avoid writing incorrect code. This kind of change invites mistakes, because it looks like you have to completely duplicate your logic, and forgetting to modify one and not the other happens to even seasoned veterans.
This should have said "forgetting to modify one when you modify the other" -Steve
