O'Reilly logo

Applied Java™ Patterns by Olav Maassen, Stephen Stelting

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction

Why Patterns?

“If builders built houses the way programmers wrote code, the first woodpecker that came along would destroy civilization.”

If you wanted to build a house, how would you do it?

Well, you could do what some people do to build a treehouse:

  1. Find a sturdy tree.

  2. Get a bunch of wood, a hammer, and some nails.

  3. Apply the products from step 2 to step 1.

  4. Hope for the best.

Of course, anyone who has tried this approach knows the results can be disappointing—in some cases, leading to the loss of the tree along with the treehouse. A better plan would be to find an architect and get his or her help in developing blueprints.

But how does the architect, the expert in building houses, make decisions? How is it possible to take the lessons from ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required