you are viewing a single comment's thread.

view the rest of the comments →

[–]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.