pankaj.singh110478@gmail.com Archive
Strategy Design Patterns We can easily create a strategy design pattern using lambda. To implement this pattern we will be using Interfaces and classes. The interface declares a behaviour and concrete classes define the behaviour. …
Decorator Pattern A decorator pattern allows a user to add new functionality to an existing object without altering its structure. Example But rather than being a decorator, this pattern looks ugly. Using Lambda makes creating …
Delegating pattern In software engineering, the delegation pattern is an object-oriented design pattern that allows object composition to achieve the same code reuse as an inheritance. In delegation, an object handles a request by delegating …