The algorithm / programming logic is focused on structured programming. How would you apply the algorithm to OOP?
The algorithm / programming logic is focused on structured programming. How would you apply the algorithm to OOP?
Object-oriented programming has nothing to do with algorithm, it has to do with data structure.
Of course, the way you structure the data affects how the algorithm will do it, but it's more about the organization than about the algorithm itself. For example, the use of conditional deviations is reduced and decisions are made based on which object was instantiated. It changes the way internal and external algorithms communicate. It changes the way to code certain activities because of the commitments assumed by an object in this paradigm.
There is controversy as to whether OO is a paradigm . Even is, but secondary. Without another paradigm, there is no OOP.
So this obsession that people have to do everything OOP does not make sense. The obsession is so great that most do not even bother to learn the paradigm to apply in the correct form where it needs. She just means she did OOP because they say doing so is better, which is another lie. There are things that do not get good with OO and if you do OO wrong it will certainly be bad, probably worse than OO.