DEV Community

Discussion on: What was the hardest concept for you to grasp when learning Object-Oriented Programming?

Collapse
 
erikwhiting88 profile image
Erik

the 4 pillars? I'm not familiar with this

Collapse
 
theowlsden profile image
Shaquil Maria

Yes, Abstraction, Encapsulation, Inheritance and Polymorphism.

Thread Thread
 
erikwhiting88 profile image
Erik

Ooh those, thank you!

Thread Thread
 
theowlsden profile image
Shaquil Maria

You're welcome!

Thread Thread
 
gaurang847 profile image
Gaurang

Oh yes! Inheritance was alright. But Abstraction, Encapsulation, and Polymorphism!
It took a really long time for me to understand what Abstraction and Encapsulation mean and how they're different. And a lot more, to understand what Polymorphism is.

Also, it always surprises me how many people have confusion with interfaces.
I know a lot of people who don't have much experience with OOP and they think that interface is something that allows multiple-inheritance in Java. That's what we're taught at colleges where I live.
Was it the same with you?

Btw I wrote an article on interfaces. I'd love to hear your thoughts on it.