Posts tagged with "Software craftsmanship"

May 3rd, 2013

How high can you raise the bar?

You have read the books. You are a clean coder. You know your language, your tools and libraries  and you know exactly what matters: Well crafted software, steadily adding value, and of course you are part of a community of professionals. There was something about productive partnerships, too, but that was a bit hard do [...]

Leave a Comment
Apr 18th, 2013

A Fast and Minimal JSON Parser for Java

Overall performance

In the RAP project, reading and writing JSON are critical operations, since the server processes and creates JSON messages for a large number of clients at a high rate. For this reason, we need something fast for this job. When we switched to JSON, we included the org.json parser, which is reasonably small but not [...]

8 Comments
Apr 11th, 2013

JUnit – the Difference between Practice and @Theory

Lately a colleague showed me how to improve JUnit tests written for a distance calculator. Speaking with other developers I found out that the majority wasn’t aware of the undocumented @Theories Runner which can be found in an experimental package in JUnit, so I decided to share this valuable “experiment”. In contrast to the parameterized [...]

1 Comment
Mar 8th, 2013

Entering a world with a common language

3811537169_00110ea8d4_n

Whenever a group of people gathers to discuss the pre-release phase of a piece of software, the word test appears on the agenda. While the general idea of testing seems more or less clear to everybody, only rarely do two people have the same implicit understanding of the details. To name a few, try to [...]

Leave a Comment
Dec 20th, 2012

Broken Window Theory in practice

Broken Windows

The Broken Window Theory was introduced to software development by Andy Hunt and Dave Thomas in The Pragmatic Programmer. In the programming world, the story goes, if you accept one broken window (aka bad code) in your software project, soon everything will be smashed and fall apart. Many articles have been written about that. And [...]

Leave a Comment
Nov 7th, 2012

A Software Craftsman’s Toolbox: Lightweight Java libraries that make life easier.

box

As a software developer you will use plenty of frameworks during your career. There are the big beasts like Spring, ActiveMQ or OSGi that you have to master in order to build the foundations of your applications. And then, there are the small frameworks. Let’s call them lightweight tools. Like a carpenter, the lightweight tools [...]

6 Comments
Oct 19th, 2012

Software Craftsmanship at EclipseCon Europe 2012

manifesto

In some of my previous posts I’ve talked about well-crafted code. I’m really convinced that software development is a craft – but what does that mean? The “Manifesto for Software Craftsmanship” contains the following 4 points: Considering these points I took a look at the EclipseCon Europe 2012 session schedule and picked out a view [...]

Leave a Comment
Sep 21st, 2012

Sorting out listener implementations in Java

Listener gets executed after removal

Recently I scanned the source code of our current Eclipse RCP/RAP project for occurrences of the Listener (or Observer) pattern. I found no less than 6 (!) different implementations and decided to unify them into one. When researching the implementation options (and the Java world has many to offer), I found an aspect of Listener [...]

3 Comments
Sep 18th, 2012

Must-reads for Java Developers: From Beginner to Professional

patterns-eaa

In the last few months I noticed that I’ve been recommending the same books again and again to new and also to experienced developers. For this reason I decided to put together a list of must-reads. The books I’ll recommend were good company during my journey from beginner to the level I’m currently at (whatever [...]

8 Comments