#Singapore

Hexagonal Architecture

Reading Time: 2 minutes As the 12 factor app states, that each component of an application should work independent of each other. This is required in order to make the update process simpler. This is where many developers use architectural pattern, commonly known as hexagonal architecture. The main aim of this architecture is to divide the application into loosely couple components. These components can then be connected using ports Continue Reading

Scala3 Vlog: Union Types

Reading Time: < 1 minute Hello folks, We have released another video on Scala3 series which talks about a new type i.e. Union Types. Union Type is a type which is one of a set of other type, or a type of a variable or expression which can consist of multiple types. And the main reason for introducing Union Types in Scala is that for every set of types, we Continue Reading

Pre-Trade Messages

Reading Time: 2 minutes Submitting an order is not an easy task. It becomes handy when some information is known in advance to decide the order details that needs to be submitted. This is where pre-trade messages come in place. They help to retrieve the information about the securities and market conditions. This can help the broker or the trader to make sure if they have sufficient funding or Continue Reading

Java 11: Lambda Expression and String functions

Reading Time: 3 minutes Java 11 comes up with a lot of new features, thus easing out the life of a programmer. In this blog, I will discuss some of them. First and foremost great news about java 11, we need not to compile the java source file using command javac. A java program can now easily run using java command as the compilation happens implicitly. Lambda Parameter Syntax: Continue Reading

Scala3 Vlog: Starting with Scala3

Reading Time: < 1 minute Hello folks,As we all know that Scala3 (or Dotty) launch can happen anytime soon. So here we bring you a video on how can you write your first code in Scala3 with your favourite IDE (i.e. Intellij Idea) with minimal setup. Watch out the first video on Scala3.

Introducing Transparent Traits in Scala 3

Reading Time: 2 minutes I am learning Scala 3 and as I go along, I want to share about it with our community. In this quest, I had written an article a few days back on Trait Parameters in Scala 3. Check it out! In this article, I am going to write about a new feature of Scala 3, called Transparent Traits. Firstly, we will look into the problem Continue Reading

Introducing Trait Parameters in Scala 3

Reading Time: 2 minutes At Knoldus, we are endeavoring to learn Scala 3 and share it with community. There are multiple blogs which have been published here on Scala 3 which you can visit to get to know about other new features of the language. In this blog post, I will take you through the feature of trait parameters introduced in the language. Traits in Scala 2 Traits are Continue Reading

Introduction to Pre-Market Trading

Reading Time: 2 minutes What is Pre-market Trading? Pre-market trading refers to activity in the stock market that happens before the regular market session opens. During the regular hours, many brokers find the stock market extremely crowded and hence, they prefer a less packed time to trade i.e. either during pre-market or post market. In this blog, we will learn all about the pre-market trading. A pre-market trade is Continue Reading

The 12 Factor App

Reading Time: 4 minutes This blog will explain the principles of the 12 factor app. These principle basically eliminate the unnecessary ache required while building your application. It makes the development process smooth, thus resulting in a robust and reliable application. 1. Codebase: A twelve-factor app states that a single app should not have multiple codebases, otherwise it is a distributed system instead of an app. Also, multiple apps Continue Reading

Higher Order Functions and Closures in Scala

Reading Time: 2 minutes In this blog, we will go through the concepts of higher order functions and closures in Scala with the help of example. 1. Higher Order Functions A higher order function takes other functions as parameter or returns a function as a result. Let us understand it better with the help of examples: a) When a method is passed as an argument: Output: Open In the Continue Reading

Java9 : Process API Updates #2

Reading Time: 3 minutes In the last blog, we learned a few updates in Process API of Java 9. In this blog, we will be learning some more new features which were not present until Java 8, so let’s begin. The new features are as follows: Process Handle : It is used to handle the processes like access current running process, access the parent/child of a particular process Process Continue Reading

Java9 : Process API Updates #1

Reading Time: 3 minutes Process API is a feature of Java which already exists until Java 8, but with the release of Java 9, there were a lot of new features which came up. Issue with Process API until Java 8 What if I want to develop a device driver software or Operating System? Interaction with system level component was not suitable until Java 8. The process communication with Continue Reading