Oct 24, 20174 minIs Scala Still Relevant? YupWhen I started with Scala in 2011 it was a pretty easy sell: show any Java developer the collections library, maybe a couple of lambdas...
Sep 18, 20175 minThe Cost of Streaming Data from MySQLThough the question of “How to query data from a database?” is quite an old one, we still have a reason to investigate it nowadays. True,...
Feb 5, 20163 minRefactoring with Kleisli CompositionFor quite awhile we have been maintaining an application that processes XML and JSON data. Usually the maintenance consists of fixing...
Mar 23, 20151 minScala Extension methods via implicit classesIn this post i will demonstrate a nice trick to add “extension methods” for a given class. Note: The feature is based on implicit class...
Oct 16, 20142 minExplicit Implicit ConversionOne of the most common pattern we use on our day to day is converting objects from one type of object to another. The reasons for that...
Jul 28, 20142 minUsing Specs² macro matchers for fun and profitAt Wix, we make extensive use of the Specs² testing framework. It has become the standard tool for writing software specifications in our...
May 15, 20141 minIntroduction to Slick: Plain SQL UsageIn this post I will cover usage of the Slick library, which provides a Scala-centric API over JDBC. Slick offers 3 flavors for querying...
May 14, 20141 minWhy calling Source.mkString() is a very bad ideaSo we have some Scala code that consumes text from an InputStream from an HTTP response. So, like any good Scala developer, I handed over...
Mar 7, 20132 minOn Identifier types, type-safety and GuidsHow many times did you find yourself looking at an API which accepts some sort of string or int-based identifier and not being sure what...
Oct 19, 20124 minScalapeño – The Israeli International Scala ConferenceIn slightly more than 2 weeks, Tomer Gabel – with whom I have founded Underscore, the Israeli Scala user group – and myself are hosting...