Someone tells me the advantage of OOP?! | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 3

Someone tells me the advantage of OOP?!

21st Jul 2018, 9:17 AM
Max Andal
Max Andal - avatar
3 Respuestas
+ 31
It allows you to write clean and readable code.
21st Jul 2018, 10:18 AM
Igor Makarsky
Igor Makarsky - avatar
+ 5
One of the things I was taught years ago was that OOP allows you to separate the different layers of a system. Eg Backend database Connection Layer User interface Now lets just say you want to change the backend database, you should be able to change this, make a few changes at the connection layer, but leave three User Interface alone. I've never put this into practice, but that's what my lecturer told me 😎
21st Jul 2018, 12:15 PM
Duncan
Duncan - avatar
+ 2
Write less code, do more stuff. Also code looks a lot cleaner.
23rd Jul 2018, 7:17 AM
Haris
Haris - avatar