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…
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…
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…
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…
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…
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…
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…
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…
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…
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…
Last year I sat down in a meeting room with a few other colleagues to learn from one of Atlassian's biggest Scala advocates about Scala I kept on hearing good stuff about Scala and I like trying new things so…
Since everyone's doing it I thought I'd do it too My contribution to the What people think I do meme