|
I would say that it depends on the scale of your project. For a project that involves many components or modules I would use OOP because it simplifies the process of working with those components. It also makes your code easier to update and modify in the future.
For a simple task, however, it might be faster to just write a few functions or just plain code. The reason, I think, that so many code examples don't use OOP is because they descripe simple tasks, if you combined many of those tasks into a large scale program you would probably find that your code is a mess and hard to deal with.
Deciding on your paradigm is a question of which is best for your situation, not which is best in general.
|