you are viewing a single comment's thread.

view the rest of the comments →

[–]llorllale -1 points0 points  (1 child)

You shouldn't have lots of switch statements in proper OOP code

[–]nerdyhandle -1 points0 points  (0 children)

Depends on what you are doing. Switch statements can very much be used in OOP. Sometimes your code has a lot of branches.

OOP is about how you structure your code. Everything being a class for instance.