Design Patterns in Working Code: Use Proven Structures to Make Software Easier to Change
Language: English
Published by Independently published, 2026
- Softcover
- New

Seller: California Books, Miami, FL, U.S.A.California Books
AbeBooks seller since October 27, 2023
Condition: New
£ 16.95
Quantity: Over 20 available
Add to basketItem description from seller
Print on Demand.
Seller Inventory # I-9798172033049
- Title
- Design Patterns in Working Code: Use Proven Structures to Make Software Easier to Change
- Author
- Halstead, Corin
- Publisher
- Independently published
- Publication year
- 2026
- Condition
- New
- Binding
- Soft cover
- Language
- English
- ISBN 13
- 9798172033049
Good software design is not about using more patterns. It is about making the next change safer.
A codebase may begin with a simple function, one database, one external service, and a straightforward workflow. Then the second requirement arrives. A new provider is added. Business rules diverge. Failure crosses a network boundary. A once-simple class becomes the place where every new condition accumulates.
That is where design patterns become useful.
Design Patterns in Working Code is a practical, modern guide to recognizing recurring design pressures and choosing the smallest proven structure that actually solves them.
Rather than treating Strategy, Observer, Factory, Adapter, Decorator, Repository, or Circuit Breaker as templates to insert into every project, this book teaches you to ask better engineering questions:
What is changing?
What must remain stable?
Where should the boundary live?
What complexity does the pattern remove—and what new complexity does it introduce?
Using practical TypeScript examples while keeping the principles applicable across modern programming languages, the book moves from local code structure to application architecture and distributed-system reliability.
Inside, you'll learn how to:
- Use Strategy, Template Method, and State to manage different forms of behavioral variation
- Apply Observer, Command, and Mediator without creating invisible control flow
- Protect applications from external systems with Adapter and anti-corruption boundaries
- Use Facade, Bridge, Decorator, Composite, and Proxy where composition creates real value
- Choose Factory Method, Abstract Factory, and Builder only when creation carries meaningful decisions
- Avoid the generic Repository trap and use Unit of Work, Specification, and Data Mapper deliberately
- Apply dependency injection and ports-and-adapters architecture without creating interface-heavy ceremony
- Design reliable remote interactions with timeouts, retries, circuit breakers, bulkheads, and idempotency
- Use Transactional Outbox and Saga patterns for distributed workflows and consistency
- Refactor legacy systems toward better patterns through characterization tests, seams, Strangler techniques, and Branch by Abstraction
- Recognize when modern functions, type systems, middleware, frameworks, and cloud platforms already provide pattern mechanics
- Evaluate AI-assisted code without confusing generated pattern scaffolding with good architecture
- Record architectural decisions and review whether an abstraction actually improves maintainability
- Know when direct code is still simpler than a pattern
Real-world scenarios show why pattern names alone are never enough. A retry policy can turn a slowdown into an outage. A repository can merely disguise an ORM. An event bus can make a request impossible to follow. A clean-looking architecture can still point its dependencies in the wrong direction.
The book also includes a Pattern Decision Field Guide, a structured learning path, and practical implementation and review checklists covering behavioral, structural, creational, data, reliability, messaging, Saga, refactoring, and security concerns.
Whether you're a working developer, technical lead, architect, or code reviewer, this book will help you move beyond pattern recognition and make stronger structural decisions in real software.
Start with the force. Choose the smallest useful structure. Make the next change easier.
"Synopsis" may belong to another edition of this title.
California Books
Miami, FL, U.S.A.
AbeBooks seller since October 27, 2023
Shipping rates within U.S.A.
| Item | 3 to 7 business days | 2 to 5 business days |
|---|---|---|
| First item | £ 0.00 | £ 8.97 |
Payment methods
Store description
We have 20 years experience selling books worldwide! Friendly customer support. Your satisfaction guaranteed!
Specialty
All authorized categoriesSeller's business information
Miramar International Services LLC
FL, U.S.A.
Right of withdrawal
If you are a consumer you can withdraw from the contract in accordance with the following. Consumer means any natural person who is acting for purposes which are outside his trade, business, craft or profession.
Information regarding the right of withdrawal
Statutory right to withdraw
You have the right to withdraw from this contract within 14 days without giving any reason.
The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good or the last lot or piece.
To exercise the right of withdrawal, electronically fill in and submit a clear statement on our website, under "My Purchases" in "My Account". We will communicate to you an acknowledgement of receipt of such a withdrawal on a durable medium (e.g. by e-mail) without delay.
To meet the withdrawal deadline, it is sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.
Effects of withdrawal
If you withdraw from this contract, we will reimburse to you all payments received from you, including the costs of delivery (except for the supplementary costs arising if you chose a type of delivery other than the least expensive type of standard delivery offered by us).
We may make a deduction from the reimbursement for loss in value of any goods supplied, if the loss is the result of unnecessary handling by you.
We will make the reimbursement without undue delay, and not later than 14 days after the day on which we are informed about your decision to withdraw from this contract.
We will make the reimbursement using the same means of payment as you used for the initial transaction, unless you have expressly agreed otherwise; in any event, you will not incur any fees as a result of such reimbursement.
We may withhold reimbursement until we have received the goods back, or you have supplied evidence of having sent back the goods, whichever is the earliest.
You shall send back the goods or hand them over to California Books, Fort Wayne, Indiana, U.S.A., without undue delay and in any event not later than 14 days from the day on which you communicate your withdrawal from this contract to us. The deadline is met if you send back the goods before the period of 14 days has expired. You will have to bear the direct cost of returning the goods. You are only liable for any diminished value of the goods resulting from the handling other than what is necessary to establish the nature, characteristics and functioning of the goods.
Exceptions to the right of withdrawal
The right of withdrawal does not apply to:
- The delivery of newspapers, journals or magazines with the exception of subscription contracts; and
- The supply of digital content which is not supplied on a tangible medium (e.g. on a CD or DVD) if you accepted when you placed your order that we could start to deliver it, and that you could not withdraw once delivery had started.