Scala
-
Typed ask for Akka
Akka is a great tool for writing distributed applications. One thing that always surprised me though is that while being…
Read More » -
How could Scala do a merge sort?
Merge sort is a classical “divide and conquer” sorting algorithm. You should have to never write one because you’d be…
Read More » -
Lazy sequences in Scala and Clojure
Lazy sequences (also known as streams) are an interesting functional data structure which you might have never heard of. Basically…
Read More » -
Advanced routing in Play Framework
We frequently get questions about how to meet all sorts of different routing needs in Play Framework. While the built…
Read More » -
Scala traits implementation and interoperability. Part II: Traits linearization
This is a continuation of Scala traits implementation and interoperability. Part I: Basics. Dreadful diamond problem can be mitigated using…
Read More » -
WatchService combined with Akka actors
WatchService is a handy class that can notify you about any file system changes (create/update/delete of file) in a given…
Read More » -
Becoming Acquainted with Scala
There are many touted benefits of the Scala programming language, especially for Java developers. Among others, Scala’s advertised strengths and…
Read More » -
Synchronizing transactions with asynchronous events in Spring
Today as an example we will take a very simple scenario: placing an order stores it and sends an e-mail…
Read More » -
Scala traits implementation and interoperability. Part I: Basics
Traits in Scala are similar to interfaces, but much more powerful. They allow implementations of some of the methods, fields,…
Read More »