Rethinking Java Design Patterns: from OOP to FP (4)
After having rethought the Factory, the Visitor and the Builder paterns in previous posts, let’s look now at another structural one: the Decorator.
After having rethought the Factory, the Visitor and the Builder paterns in previous posts, let’s look now at another structural one: the Decorator.
After having rethought the Factory and the Visitor paterns in previous posts let’s look now at another creational one: the Builder.
In a previous post, we’ve looked at how to combine the Java’s object oriented and functional styles to implement a new and modern Factory design pattern. Aft...
Functional Programming answer, to those who wonder how to integrate or combine it with Object-Oriented Programming, is usually: Turtles all the way down.
Traditional CRUD systems store only the current state of an entity. When a record is updated, the previous value is overwritten and lost forever. Event Sourc...