, BitFlipper wrote

vs simply copy/pasting the same thing everywhere.

Whoa There!

If copy and pasting is the answer, it's probably time to write a function and call that instead.