Decorator pattern lets a programmer add more functionality to an object without impacting other objects of the class. So off course without inheritance
Different approaches of implementing a filter function on a collection in Scala.
One of the biggest challenges most software engineers face is, to maintain a badly written code. Refactoring code is a very difficult task, which can break a lot of things in a so called working software. There are only two choices one can make, either add more mess to the code or dig deep into … Continue reading Functional Refactoring
What is HATEOAS ? (Hate-OAS, Hateous or any other pronunciation) Hypermedia as the Engine of Application State It basically means that your application state should be Hypermedia driven. Hypermedia ? - Basically hyperlinks to other resources. Which also means that, once a client access a resource, it can use the hypermedia to navigate your resources. … Continue reading Hypermedia Driven Rest APIs – HATEOAS
Remapping elastic search index For every change in the mapping or settings of the elastic search index, we have to create a new index as there is no way to edit an existing index. So here are the basic requests that you have to fire to achieve it, but first thing first, lets create an … Continue reading Change Elastic Search Mapping