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
Every developer encounters situations on a day to day basis where he has to write a code that flows based on some condition, and every condition eventually resolves to a Boolean. When conditions become complex enough to be part of flow control constructs like ifs..whiles..whens we tend to extract them into a method with meaningful … Continue reading Optimistic Boolean Functions