23.07.2012 Views

Design Patterns Explained

Design Patterns Explained

Design Patterns Explained

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

…there is a<br />

meta-level<br />

conversation<br />

going on.<br />

Already we see a qualitative difference. The carpenters are discussing<br />

differences in the quality of solutions to a problem; their discussion is at a<br />

higher level, a more abstract level. They avoid getting bogged down in the<br />

mere details of a particular solution.<br />

When the carpenter speaks of a miter joint, he or she has the following<br />

characteristics of the solution in mind.<br />

• It is a simpler solution. A miter joint is a simple joint to make. You cut<br />

the edges of the joining pieces at 45 degrees, abut them, and then nail or<br />

glue them together (see Figure 8-2).<br />

• However, it is also a weaker joint.<br />

When the carpenter speaks of a dovetail joint (which we saw above), he or<br />

she has other characteristics of the solution in mind. These characteristics<br />

may not be obvious to a layman, but would clearly be understood by any<br />

carpenter.<br />

• It is a more evolved solution. It is more involved to make a dovetail joint.<br />

Thus, it is more expensive.<br />

• It is impervious to temperature and humidity. As these change, the wood<br />

expands or contracts. However, the dovetail joint will remain solid.<br />

• It does not depend on glue or other fastening systems. In fact, dovetail<br />

joints do not depend even depend upon glue to work.<br />

• It is a more aesthetically pleasing joint. Beautiful to look at when made<br />

well.<br />

In other words, the dovetail joint is a strong, dependable, beautiful joint that is<br />

hard (expensive) to make.<br />

So, when Carpenter 1 asked,<br />

Figure 8-2. A miter joint<br />

“Should we use a miter joint or a dovetail joint?”<br />

the real question that was being asked was,<br />

“Should we use a joint that is expensive to make but is both beautiful and

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!