oop is a way of thinking, it is easier to maintain and expend your lib. for example, if you have some code of moving a people in a video game, you can add some code for moving a horse by making both people and horse as "movable object", therefore a "move" command for any "movable object" will take care of itself. almost every language can be object oriented, even assembly,
https://www.amazon.com/Object-Or ... rfman/dp/0830676201
that is a very interesting book. |