We are used to think that O(log N) is always better than O(N), but it is not always true.
Read more…I wanted to measure how much extra cost does Scala Option incurs.
Read more…Better way to work around JVM type erasure in Scala pattern matching
Read more…This is a bit of functionality that I keep googling up over and over again.
Read more…Scala is very complex, and yet the features I love the most are among the simplest pleasure it provides
Read more…Scala error message could be quite cryptic, but there is one which I love the most. It is caused by smallest of the errors with the message insanely far from actual cause.
Read more…Squeryl is very smart, but some time you want to alter a bit of its logic. Here is one of the methods.
Read more…The error "class XXX inherits conflicting members" is almost obvious by the compiler message, but stop just one step short of the full solution.
Read more…