Blog Archives

10: ♥ Coding Scala Way – groupBy, mapValues & identity

Java developers need to learn Coding Scala Way. Scala way of coding is quite different & you need to unlearn Java way of coding Question: Given a list of numbers, how will you group the numbers by how many times they occur? for example output for “List(3, 3, 4, 5,

Read more ›

Posted in Scala way of coding

19: Q109 – Q113 Scala ADT (Algebraic Data Types) Interview Q&As

Q109 How do you model data in functional programming (i.e. FP)? A109 Using ADT (i.e. Algebraic Data Types), you can model data with logical ORs and logical ANDs. “OR” is also known as the “Sum” type, and the “AND” is also known as the “Product” type. OR (i.e. Sum type)…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in member-paid, Scala Interview Q&As

18: Q104 – Q108 Scala typeclass pattern for decoupling with polymorphism

Q104. What is the importance of “typeclass” pattern in Scala? A104. Typeclass pattern is to achieve decoupling via adhoc polymorphism. Polymorphism separates interfaces from implementations, to decouple what from how. Polymorphism improves code readability with better code organization. It promotes creation of extensible programs that can be “grown” not only…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in member-paid, Scala Interview Q&As

17: Q99 – Q103 Scala applicatives & scalaz interview Q&As

This extends Scala Functors Interview Q&As & Scala monads interview Q&As. You need to remember the following.

Q99. Why do you need an applicative functor? A99. The “map” method in the functor works with a single input argument as explained in the Scala functors interview Q&As. What if…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in member-paid, Scala Interview Q&As

14: Q84 – Q87 Category Theory With Scala Interview Q&As

Q84. What is a category theory from a functional programming language perspective? A84. The category theory is all about abstractions. Composition “f” and “g” are functions, and “A” and “B” are types. f: A => B, means the function “f” takes an input of type “A” and returns an output…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in member-paid, Scala Interview Q&As

16: Q93 – Q98 Scala monads interview Q&As

This extends Scala Functors Interview Q&As. You need to remember the following.

Q93. What is a monad? A93. Monad is a wrapper (or a context) that flattens the result so that it can be further processed by mapping over each element. Everything that’s a monad is a functor…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in member-paid, Scala Interview Q&As

15: Q88 – Q92 Scala Functors Interview Q&As

This extends Category Theory With Scala Interview Q&As. Q88. What do you understand by the terms functors, monads, and applicatives ? A88. Functors, Monads, and Applicatives are concepts or patterns that abstract complexities in computations, and are NOT traits or classes. You can think of them as container type classes…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in member-paid, Scala Interview Q&As

09: Coding Scala Way – Fibonacci Series

Example #22: Fibonacci series in Scala This extends determine the nth fibonacci number using Scala. In this let’s print the Fibonacci series of length n. This post is motivated by a nice post at Fibonacci Numbers in Scala.

Q1 Is the above approach to “print the Fibonacci series of…...

Members Only Content

This content is for the members with any one of the following paid subscriptions:

30-Day-Java-JEE-Career-Training, 90-Day-Java-JEE-Career-Training, 180-Day-Java-JEE-Career-Training, 365-Day-Java-JEE-Career-Training, 60-Day-Java-JEE-Career-Training and 2-Year-Java-JEE-Career-Training

Want to evaluate the quality of the contents to see if they will add value to you?

Click Here and check the contents with Try.

Log In | Register
Posted in member-paid, Scala way of coding
Page 1 of 41234

600+ Java Interview Q&As ♥Free|♦FAQ

open all | close all

200+ Java Interview FAQs – Memory Joggers

open all | close all

16 Java Key Areas to be a top-notch

open all | close all

80+ Java Tutorials – Step by step

open all | close all

100+ Java Coding Exercises

open all | close all

How good are your "Career Skills"?

open all | close all