This is the Main Difference of Writing Applications in Functional Programming vs. Object-Oriented Programming
It is not immutability or inheritance, but more on how your application will be structured
Published in
4 min readFeb 23, 2021
Algebraic Data Types have their pros and cons. It enables you to write your application in a type-safe way — when you do pattern…