Something we want to avoid for readability and simplicity reasons are pieces of code that perform very similar actions.

What a waste of time! How can we get rid of this redundant code, though?

Better double check the syntax first.