all that jazz

james' blog about scala and all that jazz

All posts for 2012

November 2012

Comments complement code

Today I read this quote Good code is its own best documentation As you’re about to add a comment ask yourself How can I improve the code so that this comment isn’t needed I just want to say it's a…


Iteratees for imperative programmers

When I first heard the word iteratee I thought it was a joke Turns out it wasn't a joke in fact there are also enumerators that's ok and enumeratees you're killing me If you're an imperative programmer or rather a…


Scaling Scala vs Java

In my previous post I showed how it makes no sense to benchmark Scala against Java and concluded by saying that when it comes to performance the question you should be asking is How will Scala help me when my…


October 2012

Passing common state to templates in Play Framework

This question comes up very frequently on the Play mailing list so I thought I'd document a quick example of how to pass common state to shared templates in Play Framework when using Scala The use case is typically that…


Benchmarking Scala against Java

A question recently came up at work about benchmarks between Java and Scala Maybe you came across my blog post because you too are wanting to know which is faster Java or Scala Well I'm sorry to say this but…


August 2012

Why does Chrome consider some ports unsafe?

Today in my Twitter feed I noticed a frustrated tweet from Dan North complaining about why Chrome seems to arbitrarily block connections to some ports giving the confusing error code net ERR_UNSAFE_PORT I've encountered this before and have also been…


July 2012

My complaint against Haskell

I have nothing against Haskell I've been getting my teeth stuck into some Scala over the recent months and I am loving functional programming immutable types and am even starting to see what's so good about monads So Haskell with…


May 2012

Hashbangs on the new Google Groups

Hash bang URLs have been a contentious issue at my work over the past week so much so that we completely got rid of them in the project that I'm working on Coming out of the experience I'm not convinced…


April 2012

ScalaFlect: Statically typed query DSLs

I've been hard at work over the past few weeks redesigning my Mongo object mapper the Mongo Jackson Mapper to support Jackson 2 0 be simpler to use and be far more powerful with less surprises to users Something that…


March 2012


February 2012

Open Source Developers

Since everyone's doing it I thought I'd do it too My contribution to the What people think I do meme


About

Hi! My name is James Roper, and I am a software developer with a particular interest in open source development and trying new things. I program in Scala, Java, Go, PHP, Python and Javascript, and I work for Lightbend as the architect of Kalix. I also have a full life outside the world of IT, enjoy playing a variety of musical instruments and sports, and currently I live in Canberra.