Spaghetti and Hammers

Recent Posts

  • December 12, 2016

    Scala Enumerations - Return of the (Java) Jedi

    Second part of Scala enumerations, after some discussions. Looking at enumerations libs overheads, and Java enums as an alternative.

  • December 05, 2016

    Scala Enumerations

    How to use enumerations in Scala? Is the native approach the best one? Which problems does it brings? Are there any interesting alternatives?

  • July 19, 2016

    How to make the Scala compiler to review your code

    Code review has become one of the most important (and used) techniques when it comes to code quality. The code review process may have very different workflows and subtleties, but it is often driven around the following steps: The developer respo...

  • April 13, 2016

    Why I quit using Slack (during working hours)

    This month Slack announced to have raised $200M on its most recent financing. At the same time I started to turn off Slack during working hours.One chat to rule them allSlack (just as Hipchat, and many other alternatives) are messaging apps for t...

  • April 08, 2016

    Signing Git commits

    Last week GitHub released another new feature: GPG signature verification.While it may seem something new, Git already supports signing commits and tags with GPG . Still, GitHub turned easier to verify if the commit is signed by the author, introd...

  • March 26, 2016

    Saving JSON to Scala model - Part 2

    Following up my previous post on mapping json objects to Scala models, it is time to present some more advanced use cases.In the past weeks I have found myself in cases where a little more ‘magic’ was needed: Read dates from the json (org.joda.Da...