map

Working of map and mapObject function in MuleSoft

Reading Time: 2 minutes Before understanding the map and mapObject functions in MulseSoft, let’s get familiar with the term MuleSoft. What is Mulesoft and what is Mulesoft used for? What is MuleSoft? MuleSoft provides an integration platform called Anypoint Platform to help businesses connect data, applications and devices across on-premises and cloud computing environments. What is MuleSoft used for? MuleSoft used to connect a variety of data sources, applications, perform analytics Continue Reading

Iterator producing iterator in Rust is really helpful.

Reading Time: 4 minutes If you are a little bit familiar with programming, you might have heard about an iterator. It is quite useful as it allows to access each item of an iterable and perform various operations as well. Let us explore it more and learn about some cool methods of iterators in Rust that produce other iterators.

Map in SCala

Map in scala

Reading Time: 3 minutes Hi everyone, today I’ll be discussing different types of Map is Scala. I will try to differentiate between the different types of maps to make it easy to understand. So, let’s begin !! What is a Map in Scala? A map is a collection in Scala. It is a collection of key/value pairs. The key and value pairs are also known as mappings and associations. Continue Reading

Merge Lists of Map to Map, Java 8 Style!

Reading Time: 3 minutes Today, while doing my work and having fun programming, I came across a problem that looked pretty easy in the beginning, but after starting doing it, had to take help of Google and read from different sites to get to a nice implementation. So, let’s look at the problem and how to solve it. The Problem Well, you guys probably already have guessed what the Continue Reading

map(), flatMap() on Futures & Options in scala

Reading Time: 5 minutes In this blog, we would be looking at how map() and flatMap() operations work with Option and Future of scala, literally speaking both Futures and Options are very effective features of scala, A Future lets us have a value from some task on a differnt thread and Option provides us a hand from null of java as using null in scala is seen a very bad approach in Continue Reading

Knolx: The Hidden Mystery Behind Scala Functional Programming

Reading Time: < 1 minute Hello everyone, Knoldus organized a session on 25th January 2018. The topic was “The Hidden Mystery Behind Scala Functional Programming”. Many people attended and enjoyed the session. In this blog post, I am going to share the slides & video of the session. Slides:

Back2Basics: For Expression Served From Scala Magic Box – I.

Reading Time: 3 minutes In Scala, lots of the things are kind of a magic for Java developers. Sometimes this magic amazes the code but sometimes it has ruined the developer’s life. Today we are going to discuss one of the magic called “For Expression“, “For Comprehension” or as per Java developers like me called “For Loop“. Scala developers familiar with for comprehension and most of them have the idea, Continue Reading

Scala Map

Reading Time: 6 minutes Scala Map is a collection of Key-value pair. A map cannot have duplicate keys but different keys can have same values i.e keys are unique whereas values can be duplicate. Maps in Scala are not language syntax. They are library abstractions that you can extend and adapt. Scala provides mutable and immutable alternatives for maps. Class hierarchy for scala maps is shown below:   Image Continue Reading

Functional Programming In Javascript

Reading Time: < 1 minute Knoldus organized a knolx session on the topic : Functional Programming In JavaScript. Covers the Functional Programming Paradigm In JavaScript. You can watch the video of session:   You can check slides as well.   Thanks !!    

Functors in Scala

Reading Time: 2 minutes While programming in Scala we  often come across a term called Functor. A functor is an extremely simple but powerful concept. In this blog, let us discuss that in more detail. Theoretically functor is a type of mapping between categories. Given two categories A and B, a functor F maps the objects or entities of A to objects or entities of B. We can simply call Continue Reading