3 ms·
OOP also works well when you want different _behavior_. In your bag of functions you have the same behavior for all objects. If you want different behavior, you
by david422 6y ago
OOP also works well when you want different _behavior_. In your bag of functions you have the same behavior for all objects. If you want different behavior, you're going to have to start adding branches in code that really has no business making those branch decisions.