ga('send', 'pageview');
Categories
Teknik

Your Build, Lava Lamps and Clojure

After a Javaform JUG meet-up this fall I happened to talk with @matkar (of Javaforum and Jfokus fame) at the pub following the meeting. He very convincingly described how great it is to use lava lamps as a visual tool for showing current build status. Actually, he pretty much insisted that I’d set it up […]

Categories
Teknik

Ant Refactoring

Today, those who work in agile teams have learned to constantly improve their code using refactoring techniques. However, build scripts still tend to degenerate as more functionality is added. Magnus Mickelsson discusses a way to counter this, and gets a library of reusable parts as a bonus. I have been responsible for creating scripts for […]

Categories
Teknik

Fixed-point calculations (and square roots) in Clojure

I’m currently reading “The interpretation and structure of computer programs”, (which by the way is a really joyful read) and I felt an urge to try the examples in a more “modern” language than Lisp. Clojure seemed like a nice fit since it is a Lisp and also runs on the JVM which makes the […]

Categories
Teknik

From Java to Clojure

Patrik Fredriksson takes us on a tour from Java to Clojure, by using a step by step conversion from one language to the other. If you’re a Java programmer who wants to know a little bit about Clojure, make sure you come along.

Categories
Teknik

Mocking to the Rescue!

I am not really a big fan of mocking. My experience is that if you design your code to be testable, you only rarely have to rely on mocks, instead you’ll be fine just by stubbing an interface or two. But even as a proponent of what Martin Fowler calls classic TDD, I find it […]

Categories
Teknik

On layering in DDDSample

There has been considerable interest in the DDDSample application on the Swedish DDD user group mailing list – people are scrutinizing the code, asking questions and raising concerns. This last week has been mostly about layers and packages, and I think this blog is a good forum to provide a little background and explain the […]

Categories
Teknik

Specification Pattern as a Refactoring Tool

Specification is a tactical design pattern presented in Erics Evans’ book Domain-Driven Design. It can be used not only when new code is written, but also as a power tool for refactoring work. Patrik Fredriksson shows us how to use the Specification pattern to transform a piece of ugly code into a creation of beauty.

Categories
Teknik

Utvecklare, tar du ditt ansvar?

I förvånansvärt många projekt finns dom där. Systemutvecklarna och arkitekterna som hävdar att lösningen på leverans- och kvalitetsproblem både kan och bör lösas genom en detaljerad och fryst funktionsspecifikation. “Om de bara hade specificerat vad som verkligen önskades hade ju vi kunnat göra vårt jobb”, brukar det heta. Du känner säkert igen tongångarna. Eller känner du dig möjligen träffad? I så fall har Tobias Hill något att berätta för dig.

Categories
Teknik

En titt på Xfire

Jag gillar inte Webservices. Så, då var det sagt. Eller, jag avskyr inte Webservices som koncept, men den komplexitet som de ofta medför i applikation, byggscript, testning med mera. I min mening blir saker och ting lättare att förvalta ju enklare och mer intuitiva de är, utan att för den skull förlora i kvalitet och […]

Categories
Metod Teknik

Dubbla arbetet, jobba snabbare!

Tillhör du de som tycker att vi som jobbar med programmering alltid ligger i utvecklingens framkant och är först med det senaste, medan andra yrkeskategorier mest är mossiga och hopplöst nittonhundrataliga? Sorry, i så fall måste jag rubba din världsbild. På åtminstone ett område ligger vi ett halvt millenium efter ekonomerna. Tanken slog mig när […]