Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet or computer – no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
A Philosophy of Software Design, 2nd Edition
Purchase options and add-ons
- Print length196 pages
- LanguageEnglish
- PublisherYaknyam Press
- Publication date26 July 2021
- Dimensions16.51 x 1.14 x 20.32 cm
- ISBN-10173210221X
- ISBN-13978-1732102217
Frequently bought together

Explore more from across the store
Working Effectively with Legacy CodePaperbackFREE Delivery by AmazonGet it as soon as Wednesday, Aug 5
Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable SystemsPaperbackFREE Delivery by AmazonGet it as soon as Wednesday, Aug 5
The Data Warehouse Toolkit: The Definitive Guide to Dimensional Modeling, 3rd EditionPaperbackFREE Delivery by AmazonGet it as soon as Wednesday, Aug 5
Learning Go: An Idiomatic Approach to Real-World Go ProgrammingPaperbackGet it as soon as Wednesday, Jun 24
Designing Data–Intensive Applications: Big Ideas Behind Reliable, Scalable, and Maintainable SystemsPaperbackFREE Delivery by AmazonGet it as soon as Wednesday, Aug 5
Domain-Driven Design: Tackling Complexity in the Heart of SoftwareHardcover30% offLimited time dealFREE Delivery by AmazonGet it as soon as Wednesday, Aug 5
Complexity is anything related to the structure of a software system that makes it hard to understand and modify the system.Highlighted by 3,095 Kindle readers
One of the most important goals of good design is for a system to be obvious.Highlighted by 2,675 Kindle readers
Change amplification: The first symptom of complexity is that a seemingly simple change requires code modifications in many different places.Highlighted by 2,418 Kindle readers
Product details
- Publisher : Yaknyam Press
- Publication date : 26 July 2021
- Language : English
- Print length : 196 pages
- ISBN-10 : 173210221X
- ISBN-13 : 978-1732102217
- Item weight : 290 g
- Dimensions : 16.51 x 1.14 x 20.32 cm
- Best Sellers Rank: 15,351 in Books (See Top 100 in Books)
- Customer reviews:
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
Customer Reviews, including Product Star Ratings, help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyses reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Generated from the text of customer reviewsSelect to learn more
Top reviews from the United Kingdom
- 5 out of 5 stars
An excellent book about software design principles, a must read for all software engineers
Reviewed in the United Kingdom on 20 December 2020I discovered this work by first watching John present his material at a Google Talk series on software design. When he said he had tried for years to find a book that encapsulated key software design principles and failed, I really resonated with his approach. I have been looking for ages for a standard text to refer to my mentees, and this book really encapsulates all the key design principles I have spent years fine tuning myself. I wish I had had this book when I was starting out!
I particularly like John's writing style, it is as clear and concise as the software design principles he advocates. The Book is a print on demand book with a simple but effective design, printed on quality paper. I read it from end to end in a week of lunchtimes, because each chapter focuses on one design principle and is only a few pages long, and while there are small examples for everything, it is not over cluttered with intricate detail. It is just the right level for a beginner or an expert to benefit from alike.
The examples are well chosen from a knowledge-base of hundreds of student and industrial projects that John has direct involvement with, and every example clearly supports the principle being presented.
I will be recommending this book to everyone that I mentor and support, and I recommend that you buy it too. If you are a beginner, it will give you much to think about and practice as you grow into your career. If you have been developing software for a few years, it will make you re think some of the things you do and adjust your style for the better. If you are experienced, it will encapsulate succinctly all the principles you have spent years perfecting, and give you an easy way to pass on these principles to those around you that you mentor.
4 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Finally a clean code book that justifies itself.
Reviewed in the United Kingdom on 8 June 2021A book that falls in the same category as "clean code", except it gives better advice with actual justifications.
Unlike "clean code", this book actually tells you why a certain way is better rather than just stating it as some biblical truth. It also presents overarching theory that all the concepts sit on and with which you can take to make actually day to day decisions that aren't based on hard rules. The main concept presented is the idea of complexity, reducing the complexity that is exposed to developers by abstracting it away into parts that can be used as a black box and is seen by few.
The book is good for both junior and senior engineers and will make you rethink how you and your team work, in particular constantly improving the code base rather than just looking to address tech debt at some future point in time. At the very least you will come out with a different opinion on some topics, refreshed some good practices, and learn good terminology to describe difficult concepts.
People who complain that this book encourages long functions and classes really miss the point. The point is that functions and classes should do one thing in isolation. That's the goal, not to make it short. A lot of the time functions are shorter as a result of following that objective, but you are optimizing for things doing one thing not shortness within itself. Separating functions out into blocks that do nott stand alone as independent units just makes things harder to understand and read as you have to jump about in the file, or into other files. If you look at some of the before and after examples that do this in clean code, they are actually worse a lot of the time after. If you have this opinion, when you read this book be open to changing your mind. If your argument is "functions should be 20 lines long at most because that's what I read in clean code and anything else is wrong" you are really limiting yourself and hurting the people who read your code.
It was also very refreshing to finally hear a counter argument to the dogmatic application of TDD.
To conclude, if you would like to learn how to write clean code with actual generalisable theory over using hard rules such as never comment, a function should be x lines long, and classes should be y lines long, then this is the book for you.
18 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 4 out of 5 stars
Not ground breaking , but definitely worth a read
Reviewed in the United Kingdom on 31 December 2022The book covers some good engineering practises for software design. It is refreshing to see that many views I have held for years is shared by the author as well. for e.g.: I always thought Java IO libraries were bit over engineered and could have been made simpler, glad to see author also shares the same view. Views on design patterns overuse or on TDD , I fully agree. I find it hard to go with the suggestion of designing general solution all the time. Though I agree with the overall concept, designing a generic solution first, will put too much burden on the engineer (who need not be domain expert), as result will end up with wrong or abstraction (most of the time!).
2 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Very well thought out
Reviewed in the United Kingdom on 6 March 2023Probably the best general software design book I've ever read. Condenses everything I've been struggling to express about design over 35 years in the IT industry. I wish more junior developers would read this. Comments in code are indispensable. Small methods aren't always good. Lots of very sound, carefully reasoned practical advice here. Deep general purpose modules with small interfaces, well documented. Sadly most code is written once, quickly, in a tactical fashion, then ignored while people move on to newer things. A refreshing change from the "Uncle Bob " dogma. Thoroughly recommended.
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 3 out of 5 stars
generic advice with too much emphasis on comments
Reviewed in the United Kingdom on 27 April 2022the advice presented in this book is generally good but its too generic.
it feels like the author has a lot of academic experience and not as much real world (building real apps for production).
the advice on comments its just bad. comments for every variable, method, class, module, etc is not realistic. and the examples given with a variable name having a 4 lines comment is something hope to never see on my projects.
lastly, i wish he would have placed more emphasis on testing.
10 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Excellent guide for the seasoned developer or architect.
Reviewed in the United Kingdom on 13 August 2018The author is not afraid to go against the common idioms of "good design" and he defines a new way to look at problem decomposition and abstractions. The way developers get thought to design systems in conjunction with software development trends too often leads to creating over-complicated software. Any software which is too complex to maintain will eventually be rewritten. The author explains a different approach on how to decompose problems and he defines a methodology to achieve optimal results over time. It also provides a list of red flags which, when found in a software project, enables the developer to timely recognize and correct design issues before they go out of hands.
I'd recommend this book to the seasoned developer or software architect who has already seen a number of projects and designed a few systems. Which such experience the reader will quickly recognize many of the bad ways to design a system and the type of problems which bad design leads to.
15 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Software should be designed for ease of reading, not ease of writing
Reviewed in the United Kingdom on 4 November 2022John writes about some of the software design principles that contradict with principles favoured by Robert C. Martin. Some principles may be an opposite to what we've been thought. e.g deep modules, general-purpose interfaces, TDD effecting design, comments etc.
Many of his findings are based on teaching students at Stanford. However, does it still apply for experience engineers who can make special-purpose interfaces, they are used to high cognitive load, perform TDD and good design at the same time, design once, because they know this is the best approach beforehand etc?
I think it does apply, because as John mentioned in his book, "software should be designed for ease of reading, not ease of writing".
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 4 out of 5 stars
Good engineering book
Reviewed in the United Kingdom on 15 September 2019I'm stuck between 3 and 4 stars.
As others said, it's a good book overall.
There are some design principles that make a lot of sense and also, in retrospective, explain why some Java libraries are so bad ( you can figure it out for yourself after reading it ).
However, I couldn't get over the fact that a substantial part of this book is mostly about comments - got to a point where I was so fed up, I was legit skipping pages to get to more meaningful content.
4 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Top reviews from other countries
João Henrique Santos5 out of 5 starsstrongly recommended and will read again.
Reviewed in Brazil on 26 September 2025Great book! Very clear and pragmatic explanation of what matters in Software Design. Also recommend the The Pragmatic Engineer podcast episode with John Ousterhout (author) for a great overview of some ideas in the book.
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Samahell5 out of 5 starsA light switch for "clean code" concepts
Reviewed in France on 8 August 2024Possibly my favourite tech book ever.
Unlike other "clean code" books, it's not just a collection of advice, it unfolds a real theoretical framework that embodies the perks it touts in good design: simplicity, concision, consistency and pragmatism.
It felt like the author somehow found just the right abstractions to describe what we pursue in good code.
All served by spot on mental models (deep modules, information leakage), simple yet precise language and telling examples.
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Ana Paula Monetti Nishimoto5 out of 5 starsGood book and not a heavy reading
Reviewed in the Netherlands on 3 November 2024It's an amazing book where you get insights about how to build and maintain a software design. It's technical, but not a heavy reading, which makes it even more enjoyable.
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Kocsonya5 out of 5 starsSpot on
Reviewed in Australia on 19 February 2024The book's examples are mostly from programs running on an OS, with significant iron underneath. I mostly work with embedded systems, which are severely resource contained, often running on bare metal with a limited thread scheduler. Still, I found the book being generic enough to be applicable for that niche as well.
I completely agree with Prof Ousterhout regarding shallow methods, variable duplication and the like being red flags. He repeatedly re-iterates the importance of hiding implementation details, which is actually one of the stated goals of OOP,
The book tries to drive a point through: your system's long-term manageability depends on its abstractions, how you partition the task at hand into self-contained chunks with minimum, or preferably no interdependence between them. Yes, it cost a a lot of design time without cranking out any code, but this investment will be paid back during the actual implementation, and, more importantly, during the lifetime of the project (which with embedded systems is often decades).
I especially like his talking about commenting the code and how comments provide meta-information that the code does not convey. The code should be obvious, sure. You read it and should know what it does. But will you know why it does it the way it does? Often the code is written on a particular way to accommodate peculiarities of the underlying hardware, and it incorporates a lot of knowledge/mathematics of a completely different field that the device services. You might have it all in your head when working on the project, but expecting the next guy (or even yourself a few years later) to know it all is not realistic. Comments can point out all those externalities and provide a rational for particular, possibly counter-intuitive, design choices employed in the code.
Overall, I think the book is an eye-opener, at least it should make you think about abstractions, interactions, separation, generalisation, and, the most important message of the book, minimising complexity.
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Saurav Lall5 out of 5 starsReally good for fundamentals. Would recommend for VibeCoders
Reviewed in India on 18 April 2026Sometimes a little wordy, but great read for Developers or anyone building their own software
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again






