12 Comments

Easy, handy newsletter, bro!

Expand full comment

Thank you 😊

Expand full comment

Your content is awesome. Can we get some real time example of each OOPS concepts ?

Expand full comment

Hey, thank you!

I will post more content on OOP with real world examples.

Expand full comment

It was very easy to understand ✨

Expand full comment

Thank you!

Expand full comment

What is different between abstraction and polymorephism

Expand full comment

Would you mind explaining What is "Self"? It's really confusing I didn't get it yet.

Expand full comment

Hi Ashish,

Love the way you write these concepts. However, I have a doubt on your encapsulation part where you say that adding double underscore before a variable name makes it non-accessible from outside. But, I can get that via _className.__variableName

Expand full comment

Thank you so much for sharing this. Can you please give some real world implementation of OOPS concepts?

Expand full comment

What distinguishes polymorphism through interface from abstraction

Expand full comment

I think they are 2 sides of the same coin; for example i can have a function that can take documents and it will accept any class that is inherited from documents, and i have a new type of document called text, all i have to do is create a new class that inherits documents and implement the method body defined in the document class. Polymorphism is when i have new classes based off interface/abstraction because it is worded differently in some languages.

Expand full comment