Strategy Design PatternsĀ using Lambda

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 using Lambda

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 using lambda

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 …

TOP 20 MongoDB INTERVIEW QUESTIONS 2022

Managing a database is becoming increasingly complex now due to the vast amount of data being produced continuously. Therefore a number of database management systems have been released. One of these is MongoDB which was …