Blog > IT Aphorisms - Golden hammer

June 11, 2024

If the only tool you have is a hammer, it is tempting to treat everything as if it were a nail.

Abraham Maslow. The Psychology of Science: A Reconnaissance (1966).

The Golden hammer refers to the natural tendency of an individual to user those tools he is familiar with. Without taking the time to consider the convenience of using it, compared to other tools/alternatives.

Sticking to just charted territory might limit us; and things can get worse if our map (our toolbox) is limited.

In software development this tendendy translates into applying once and again the same tools; but that will take us to the same issues.

Personally I have tried to focus first on the problem as described; before introducing any technical aspecto or what the tool will be. Once the problem is defined apply the tools at hand, or create new ones (e.g. code generation has been an useful resource for me).

For example: in web development I have seen tools evolve around webpack or, more recently, around Parcel. Though Gulp always seemed to me the more sensible (and flexible) option. But it is really the struggle between declarative and procedural approaches. In such circumstances web development becomes industrialized (good), benefits of existing solutions (also good) but also suffers of similar problems (at least the problems as shared and considered unavoidable by everyone).

Tools are, once more, not inherently good or bad. They are good as long as they fit the problem they are applied to.

See all IT aphorisms.