1 min readJun 21, 2020
Well, you wouldn't place the if-else statements in the new objects.
The purpose of objects is to represent a "branch" that would otherwise have been an if-else statement.
I suggest you read some of the articles I've linked, or maybe look up Zoran Horvat. He's an elite programmer with a strong opinion about branching statements as well.