+ 1

What can I use Object Oriented Programming (OOP) for?

I know its good if you want to program games but I cant find any other good uses for it, I've tried searching for the answer but I cant find one. give some examples then an explanation so I can understand. Thank you

15th Aug 2017, 6:04 AM
Bubbles
Bubbles - avatar
1 Resposta
+ 10
If you have a project and find that a huge part of the code design represents a replica of a complex real-life system, OOP would be suitable to be implemented to reduce repeated code and keep your project/code organised, readable, maintainable. Can you code stuff in pure procedural paradigm? Yes, but in some cases, it may be unnecessarily hard and complex when OOP is an elegant option. This slide consist of advantages offered by OOP: https://www.cs.drexel.edu/~introcs/Fa15/notes/06.1_OOP/Advantages.html?CurrentSlide=3 A good comparison between procedural programming and object-oriented programming: https://www.upwork.com/hiring/development/object-oriented-programming/
15th Aug 2017, 6:25 AM
Hatsy Rei
Hatsy Rei - avatar