singaporetech

scala

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

Match Types in Dotty

Reading Time: 2 minutes As we already know that Dotty is the new Scala version and will obviously be more stronger and powerful then Scala 2.In Scala-2, pattern matching is only applicable to the objects and not on the types. But with the new Scala compiler i.e Dotty, it is possible to apply matching on Types also. For example, The Container is a type which gets reduce to further Continue Reading

Dotty – Union Data Types

Reading Time: 2 minutes Hello folks, As we know that dotty is new Scala compiler (also know as Scala 3.0) which is coming with some new features and improvements. To get more details about the dotty and its environment setup. Please follow our beginner guide blog. In this blog, I will describe you about newly introduced Union data type of dotty and its various properties. A union is data type, which Continue Reading

The Role of Securities Market Place in trading

Reading Time: 3 minutes Hello folks, in the previous blog, I had discussed about some essential trading concepts and terminologies. In this blog, I am going to describe you about the structure and components of the Securities market place. In any street market, the goods that sold are manufactured outside of the marketplace and the characters involved are those who visit the marketplace to buy goods. And those who 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

Dotty – Intersection Types

Reading Time: 2 minutes Dotty is the new Scala compiler that is written in Scala 2 and it will be future Scala i.e Scala 3.0. The current version of Dotty is 0.24.0-RC1 and very soon the first stable version will be launched in the market. Dotty is completely open source and it is available on GitHub. With this blog, I am going to share you one of New Types 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

Accessing private fields and methods using reflection

Reading Time: 3 minutes How to access private methods of a class.
You can do this by the help of reflections at runtime.

The essential trading concepts and Terminology

Reading Time: 4 minutes Hello folks, welcome to my trading concepts blog series. In this blog, I will describe and introduce some trading related terminology and its importance in the trade life cycle. Before this, if you would like to explore what is trade lifecycle, can be found in my another blog, “Introduction to the Trade Life Cycle“ For any company in any industry, remaining in control of its Continue Reading

FIX Protocol : Architecture and Message Structure

Reading Time: 3 minutes In my last blog, we went through the basic aspect of FIX protocol PROS and Cons. In this blog, we will understand the anatomy of FIX protocol which will cover the basic architecture and building blocks of FIX. FIX Protocol Architecture FIX consists of 2 main layers : Session layer : This layer aims to provide high performance. It deals with initialisation, maintenance and termination Continue Reading

Integration of a DocuSign service in Scala

Reading Time: 2 minutes DocuSign is the leading eSignature solution firm. Its cloud-based platform for automating the agreement process enables more than 370,000 companies and hundreds of millions of users in over 180 countries to accelerates  business and simplify life. DocuSign have a rich rest API interface and also have a SDK supports for many different languages like Java, C# , PHP etc. We can use these APIs to Continue Reading