Skip to content

Dependency Injection: “Don’t look for things!”

Here’s a piece of advice I definitely can take to heart.

From Google testing blog:

*Clean Code Talk Series*
*Topic: Don’t Look For Things!*

Recently I’ve been doing maintenance work on a system that has a lot of custom-rolled code to do stuff like, look up EJB Home and Remote references. Even though parts of the system are five years old, even then there were a bunch of accepted patterns for getting this sort of work done. However there’s lots of motion, but very little movement. Even mis-named patterns in places (Delegates that aren’t, and so on).

One Comment

  1. Robert wrote:

    Viva la Revolucion! And we keep going around in circles…

    Thursday, January 15, 2009 at 18:23 | Permalink