Spring SALE


An ebook on design patterns and the principles behind them
Spring SALE
plus local taxes

Design patterns help you solve commonly-occurring problems in software design. But you can’t just find a pattern and copy it into your program, the way you can with off-the-shelf functions or libraries. A pattern is not a specific piece of code, but a general concept for solving a particular problem. They are like pre-made blueprints that you can customize to solve a recurring design problem in your code.

The book Dive Into Design Patterns illustrates 22 classic design patterns, and 8 design principles that these patterns are based on.

  • Each chapter starts with a real-world software design problem, then solves it using one of the patterns.
  • Then we dive into a detailed review of the pattern's structure and its variations, followed by a code example.
  • Then the book shows various applications of the pattern and teaches how to implement the pattern step by step, even in an existing program.
  • Each chapter concludes with a discussion of pros and cons of the pattern and explores its relations to, similarities with and differences from other patterns.

Why do you need to know patterns?

Ace interviews and reviews. Questions about patterns come up at almost every programming job interview and every performance review. Get more jobs and get that raise and promotion you so richly deserve.

Extend your programming toolkit. Patterns let you customize ready-made solutions rather than reinvent the wheel. Your code has fewer mistakes because you are using a proven, standard solution covering all hidden problems.

Communicate better with colleagues. Just share the name of the pattern rather than wasting an hour explaining the details of your cool design and its classes to other programmers. Get the glory without the sweat.

Who is this book for?

Pattern Beginners. If you have never studied patterns, the book explains the basic principles of object-oriented programming with real-life examples. Before diving into the patterns, we look at the design values and principles on which the patterns are built.

Pattern Refreshers. If you studied patterns a while ago, but have forgotten things, the ebook can refresh your memory as serve as a handy reference. Quickly find sections of interest without having to read it from start to finish.

Language Switchers. If you are switching to one of the OOP languages (C#, C++, Go, Java, PHP, Python, Ruby, Rust, Swift, or TypeScript), you will easily grasp the essence of the text thanks to the many real-world examples and analogies, supported by helpful illustrations and diagrams.

Free Demo

Check out the quality of the book for yourself. The demo includes the table of contents, several introductory chapters, three design principles, and the Factory Method design pattern.

100% Satisfaction guaranteed

100% Satisfaction guaranteed

Risk nothing by buying now. If within a month of purchase you decide that the book is not helpful, all your money will be returned. No questions asked.

Spring SALE
plus local taxes
Buy now
(It will be more expensive later!)
  • Your personalized copy of Dive Into Design Patterns
  • 409 pages of great technical writing
  • 225 (!) illustrations and diagrams
  • Archive with rich code examples
    (C#, C++, Go, Java, PHP, Python, Ruby, Rust, Swift, TypeScript)
  • 30-day money-back guarantee

What others say?

Add a review

What do you get?

A Multilingual eBook in 4 Formats

  • Formats: PDF, EPUB, MOBI, KFX
  • Languages: English, Chinese, French, Korean, Japanese, Portuguese, Polish, Russian, Spanish, Ukrainian
  • Volume: 409 pages
  • Graphics: 225 illustrations and diagrams
  • Updates and Fixes: free as a bird

An archive with code examples

  • Examples are in C#, C++, Go, Java, PHP, Python, Ruby, Rust, Swift, and TypeScript

An ebook in human-friendly, natural language. Written with minimal jargon and technicalese, maximal code samples and illustrations.

Not bound to a specific programming language. Code examples are in pseudocode, applicable to most modern OOP languages.

Readable on any device. The eBook is available in four formats:

  • EPUB for reading on phones and tablets
  • MOBI, KFX for Amazon Kindle readers
  • PDF for reading anywhere or printing

Always handy and searchable. The ebook is a convenient reference guide. Unlike a paperback, it is searchable and impossible to leave behind somewhere. It’s always available on your smartphone, tablet, laptop or desktop.

Pleasant reading when commuting or relaxing. Where else can you learn in peace these days, if not during flights and on the bus or subway? Well, maybe in bed…

Easy reading day or night. Good news for night owls! The eBook looks great on a light background for day-reading or a dark one for night-reading.

Frequently asked questions

What payment methods do you accept?
You can pay with credit/debit cards (Visa, MasterCard, AmEx, Discover, JBC, and more), PayPal, Apple Pay, Google Pay, iDeal, Giropay, NetBanking, WeChat Pay, and Alipay.
How do you keep my data safe?
Your payment information is encrypted and sent directly to the payment gateway. It is never transmitted to or stored on our server.
I tried to place the order, but my payment gets failed each time. What do I do?
Please make sure that your card is enabled for online transactions and that you're not hitting your online spending limit. Then retry placing the order. If nothing helps, send us a message and we will try to provide you with alternative payment options.
Can I get my money back if I’m dissatisfied?
Yes! If our book doesn’t help you, just email support@refactoring.guru with your receipt. We will refund your purchase in full, no questions asked.
Can I get an invoice after purchase?
Yes! You will be able to download the invoice after purchase.
Is there a hard copy version of the book?
The book has not been published in the paper format yet. It might in the future, though. So, if you're interested, please subscribe to our newsletter to not miss it.
Can I buy the book on Amazon?
Unfortunately, no. The book can only be bought on Refactoring.Guru. Selling the book from our own website allows us to avoid huge cuts imposed by the 3-rd party platforms and break even while keeping the price affordable. If you're more interested in reviews, you can refer to the book page on Goodreads.
Do I get all the language versions after purchase? (Spanish, Chinese, etc.)
Yes! You get access to all the current and future language versions of the ebook.

Have more questions?

Send us a forum message or email support@refactoring.guru. We usually respond within a few hours.


Spring SALE
plus local taxes
Buy now
PDF, EPUB, MOBI, KFX + code examples / Free updates / 30-day money-back guarantee
Spring SALE
plus local taxes
+ code examples
30-day money-back guarantee