Tag Archives: Examples

ScalaFP: Understanding Semigroups In Scala Pragmatically

In our previous post, we discussed semigroups according to mathematics and we conclude that semigroups have two properties called closure and associativity. But still, we have some questions like: How can we use semigroups by using Scala? Where do we … Continue reading

Posted in Functional Programming, Scala | Tagged , , , , , , , , , | 3 Comments

Rules while working with stream in Java 8

First, let’s have a basic understanding of stream. Then we will have a look at the side effects that can occur while working with streams. Stream represents a sequence of objects from a source, which supports aggregate operations. One thing … Continue reading

Posted in Best Practices, Java, Streaming | Tagged , , , , , , , , | 1 Comment

Introducing Kafka Streams: Processing made easy

If you are working on huge amount of data, you might have heard about Kafka. At a very high level, Kafka is a fault tolerant, distributed publish-subscribe messaging system that is designed for fast processing of data and the ability … Continue reading

Posted in big data, Java, Streaming | Tagged , , , | 1 Comment

Object Oriented JavaScript: Polymorphism with examples

Again this is not the advance topic of JavaScript but it relies under Object Oriented JavaScript & polymorphism is one of the tenets of Object Oriented Programming (OOP), we all know what is Polymorphism from other languages (like C#, Java … Continue reading

Posted in JavaScript, Scala | Tagged , , , , | 3 Comments