Composition over Inheritance
In functional programming, you usually don't use classes. But that begs the question: How can you model complex structures without using inheritance?
The answer is quite simple: We use a pattern called Composition.
Todo-App using OOP
As an example, l...
functional-fieldnotes.hashnode.dev3 min read