Comments

A Model for Improving Names

A model for improving the names of variables, fields, interfaces, classes and namespaces in a system. Practise this and more in my course, Agile Design: Beyond the Basics.

(Updated August 23, 2013)

Here is a great example of a structurally accurate name:

Geek and Poke

You can find the original comic (and more) at Geek and Poke.

The classic name for this kind of class ends in Util. Smalltalk browsers label these classes as a code smell. I have used the intention-revealing name JunkDrawer for classes like these. Once, while working with a team near Philadelphia, we had an Eclipse project like this, which we first called “Dumping Ground”, but which we eventually renamed to “New Jersey”.

(Updated August 29, 2013)

It seems that Geek and Poke have tapped directly into my brain. I will have to use this name in my projects.

Geek and Poke

You can find the original comic (and more) at Geek and Poke.

Comments