I have a few questions… One of them being is when should I use OOP? Should I always use OOP when I code? If not when should I use it?
When you’re working with large amounts of the same type of object, OOP can be an option. It’s not necessary, but it can be helpful in certain situations to beautify code and make it easier to maintain or modify for all of those instantiated objects.
With that said, there can definitely be a overdose problem with it as well, by unnecessarily using OOP.
For example, it wouldn’t really make sense to take an OOP approach for a single object that gets made at runtime, and nothing more.
Hope this helps a bit.
4 Likes
Thank you for your reply! It really helped.
1 Like