Shipping Is A Feature

Shipping Is A Feature

Never lose sight of the fact that until you ship your product, it is not providing value to anybody.  Joel Spolsky put it well when he wrote: A 50%-good solution that people actually have solves more problems and survives longer … Continued
Read the Manual

Read the Manual

A great deal of the time, software developers can mostly figure things out by just trying things, and seeing what fits.  Maybe it’s a matter of trying different combinations until the compile error disappears, or maybe it’s a matter of … Continued
Adapter Design Pattern

Adapter Design Pattern

The Adapter Design Pattern, also known as the Wrapper, allows two classes to work together that otherwise would have incompatible interfaces.  In this case, this software design pattern maps particularly well to the real-world example of an electrical power adapter, … Continued
Strategy Design Pattern

Strategy Design Pattern

The Strategy Design Pattern allows an object to have some or all of its behavior defined in terms of another object which follows a particular interface.  A particular instance of this interface is provided to the client when it is … Continued
Naming Things

Naming Things

It is hard to overestimate the importance of choosing good names for source code elements in software development.  Much has been written on this topic, and it is often a source of great debate.  “What makes a name good, or … Continued
Dependency Injection

Dependency Injection

Dependency Injection is a technique that facilitates loosely coupled object-oriented software systems.  It is closely related to the Dependency Inversion Principle.  In simple systems, references to collaborating objects are made directly within classes that need to refer to them.  This … Continued
Code Readability

Code Readability

Writing code that is readable is critical for any software application that needs to be maintained for any length of time.  There are valid performance and anti-theft reasons tominify or even obfuscate code that is being deployed, but the source … Continued
Know Where You Are Going

Know Where You Are Going

Don’t just code with blinders on – understand how what you’re building will be used and the problems it’s meant to solve. As developers, it can sometimes be tempting to focus purely on the technical, engineering challenge of the task … Continued
Dogfooding

Dogfooding

Dogfooding is short for “Eating your own dog food,” which represents the practice of using your own products.  For software developers, that means working with, as a real user, the applications you’re building, or at least working closely with people … Continued
Whole Team Activity

Whole Team Activity

Software development is a whole team activity – avoid silos and barriers to communication.  Extreme Programming introduced the idea of the Whole Team, which includes business representatives, testers, and of course programmers.  These teams work together, ideally within the same … Continued