Understanding extensions method in Scala
Extension Method in Scala import scala.concurrent.duration._ class SampleActor extends TaskExecutorBase { val taskTimeout = 10.seconds def doTask(task: Task): Unit = { println("Sample task start.") ......
Validation in Scala: Fail Fast and Fail Slow
Introduction We all know that validation is one of important thing in Software development, it’s not only help us make sure our logic is correct...
DRY Code with Higher Order Function in Scala – Part II
DRY Code with Higher Order Function in Scala – Part II This post is part II in my series about Higher order function in Scala....
DRY code with Higher Order Function in Scala – Part I
DRY Code with Higher-order Function in Scala – Part I In Software Engineering, don’t repeat yourself (DRY) is a principle of software development, aimed at...
Functional Programming’s Toolkit: Map
I. Giới thiệu Tiếp theo trong chuỗi các bài về các pattern hay gặp trong Functional Programming, bài viết này sẽ đề cập tới một...
Scala: From Zero to Algorithms
Introduction Hi all, In previous post, I have guided you to prepare the environment, install IDE, and write first Hello World Scala application using IntellJ....