2 ms·
> In essence, any action that you are likely to repeat many times in a program benefits from object oriented programming because it centralizes the code in one
by civilized 4y ago
> In essence, any action that you are likely to repeat many times in a program benefits from object oriented programming because it centralizes the code in one place and is abstracted away when the time comes to use it.
This isn't really the unique benefit of OOP. Plain functions also centralize code in one place and allow you to avoid writing repetitive code.