+ 3
Someone tells me the advantage of OOP?!
3 odpowiedzi
+ 31
It allows you to write clean and readable code.
+ 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 😎
+ 2
Write less code, do more stuff.
Also code looks a lot cleaner.