In this post, we are going to discuss the main Pillars of the following two popular Programming Models:
- OOP (Object Oriented Programming)
- FP (Functional Programming)
Four Main Pillars of OOP:
- Abstraction
- Encapsulation
- Inheritance
- Polymorphism
Two Main Pillars of FP:
- Pure Functions
- Immutability
Please go through my "Compre FP, IP and OOP" tutorial at :
http://www.journaldev.com/8693/functional-imperative-object-oriented-programming-comparison
That’s it all about Pillars of FP and OOP. We will discuss some more FP concepts in my coming posts.
Please drop me a comment if you like my post or have any issues/suggestions.
No comments:
Post a Comment