Buying Options

Digital List Price: $31.99
Kindle Price: $23.99

Save $8.00 (25%)

These promotions will be applied to this item:

Some promotions may be combined; others are not eligible to be combined with other offers. For details, please see the Terms & Conditions associated with these promotions.

Deliver to your Kindle or other device

You've subscribed to ! We will preorder your items within 24 hours of when they become available. When new books are released, we'll charge your default payment method for the lowest price available during the pre-order period.
Update your device or payment method, cancel individual pre-orders or your subscription at
Your Memberships & Subscriptions

Buy for others

Give as a gift or purchase for a team or group.
Learn more

Buying and sending eBooks to others

Select quantity
Buy and send eBooks
Recipients can read on any device

Additional gift options are available when buying one eBook at a time.  Learn more

These ebooks can only be redeemed by recipients in the US. Redemption links and eBooks cannot be resold.

This item has a maximum order quantity limit.

Deliver to your Kindle or other device

Share <Embed>
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required. Learn more

Read instantly on your browser with Kindle Cloud Reader.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Loading your book clubs
There was a problem loading your book clubs. Please try again.
Not in a club? Learn more
Amazon book clubs early access

Join or create book clubs

Choose books together

Track your books
Bring your club to Amazon Book Clubs, start a new book club and invite your friends to join, or find a club that’s right for you for free.
Code That Fits in Your Head: Heuristics for Software Engineering (Robert C. Martin Series) by [Mark Seemann]

Follow the Author

Something went wrong. Please try your request again later.

Code That Fits in Your Head: Heuristics for Software Engineering (Robert C. Martin Series) Kindle Edition

4.4 out of 5 stars 67 ratings

New from Used from
Due to its large file size, this book may take longer to download

Stories told one episode at a time. Start reading for free. pantry

Next 1 for you in this series See full series
Total Price: $23.99
By clicking on the above button, you agree to Amazon's Kindle Store Terms of Use

Books In This Series (14 Books)

Editorial Reviews


"We progress in software by standing on the shoulders of those who came before us. Mark's vast experience ranges from philosophical and organisational considerations right down to the precise details of writing code. In this book, you're offered an opportunity to build on that experience. Use it."
--Adam Ralph, speaker, tutor, and software simplifier, Particular Software

"I've been reading Mark's blogs for years and he always manages to entertain while at the same time offering deep technical insights.
Code That Fits in Your Head follows in that vein, offering a wealth of information to any software developer looking to take their skills to the next level."
--Adam Tornhill, founder of CodeScene, author of Software Design X-Rays and Your Code as a Crime Scene

"My favorite thing about this book is how it uses a single code base as a working example. Rather than having to download separate code samples, you get a single Git repository with the entire application. Its history is handcrafted to show the evolution of the code alongside the concepts being explained in the book. As you read about a particular principle or technique, you'll find a direct reference to the commit that demonstrates it in practice. Of course, you're also free to navigate the history at your own leisure, stopping at any stage to inspect, debug, or even experiment with the code. I've never seen this level of interactivity in a book before, and it brings me special joy because it takes advantage of Git’s unique design in a new constructive way."
--Enrico Campidoglio, independent consultant, speaker and Pluralsight author

"Mark Seemann not only has decades of experience architecting and building large software systems, but is also one of the foremost thinkers on how to scale and manage the complex relationship between such systems and the teams that build them."
--Mike Hadlow, freelance software consultant and blogger

"Mark writes, 'Successful software endures'--this book will help you to write that kind of software."
--Bryan Hogan, software architect, podcaster, blogger

"Mark has an extraordinary ability to help others think deeply about the industry and profession of software development. With every interview on
.NET Rocks! I have come away knowing I would have to go back and listen to my own show to really take in everything we discussed."
--Richard Campbell, co-host, .NET Rocks! --This text refers to the paperback edition.

About the Author

Mark Seemann, a former economist, found a second career as a programmer and has worked as a web and enterprise developer since the late 1990s. He is a Certified Rockstar Developer and has written a Jolt Award-winning book about Dependency Injection, given more than a hundred international conference talks, and authored video courses for both Pluralsight and Clean Coders. Mark has regularly published his blog ( since 2006. --This text refers to the paperback edition.

Product details

  • ASIN ‏ : ‎ B09D2X43VX
  • Publisher ‏ : ‎ Addison-Wesley Professional; 1st edition (November 2, 2021)
  • Publication date ‏ : ‎ November 2, 2021
  • Language ‏ : ‎ English
  • File size ‏ : ‎ 34025 KB
  • Simultaneous device usage ‏ : ‎ Up to 5 simultaneous devices, per publisher limits
  • Text-to-Speech ‏ : ‎ Enabled
  • Screen Reader ‏ : ‎ Supported
  • Enhanced typesetting ‏ : ‎ Enabled
  • X-Ray ‏ : ‎ Not Enabled
  • Word Wise ‏ : ‎ Not Enabled
  • Print length ‏ : ‎ 416 pages
  • Lending ‏ : ‎ Not Enabled
  • Customer Reviews:
    4.4 out of 5 stars 67 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Mark Seemann is a Danish software developer based in Copenhagen, Denmark. His professional interests include functional programming, object-oriented development, as well as software development in general. Apart from writing two books he has also written numerous articles and blog posts about related topics.

Despite being mostly a .NET developer he takes most of his inspiration from sources across a wide range of technologies, including Haskell and lots of pattern books.

Originally poised to become a rock star or (failing that) graphic novelist (in the European tradition) he one day found himself with insufficient talent for either, a masters degree in Economics, and a desire for working with computers. He has been doing the latter intermittently since 1995.

When not working with software or spending time with his family, Mark enjoys reading, listening to and playing music, as well as preparing or consuming gourmet food and wine.

Customer reviews

4.4 out of 5 stars
4.4 out of 5
67 global ratings

Top reviews from the United States

Reviewed in the United States on February 26, 2022
4 people found this helpful
Report abuse
Reviewed in the United States on December 29, 2021
4 people found this helpful
Report abuse
Reviewed in the United States on February 24, 2022
6 people found this helpful
Report abuse
Reviewed in the United States on May 3, 2022
One person found this helpful
Report abuse
Reviewed in the United States on June 1, 2022
Customer image
5.0 out of 5 stars Great Advice
Reviewed in the United States on June 1, 2022
This book contains a collection of thoughtful and pragmatic techniques for writing better software. Mark Seemann is a very deep thinker -- his blog contains an overwhelming amount of information and opinions on software development. This book, thankfully, keeps things very practical with clear explanations and easy-to-implement techniques. Mr. Seemann validates the techniques presented in his book by referencing other expert developers who’ve reached the same conclusions. I loved the "fractal architecture" metaphor -- it was one of many useful things I learned from this outstanding book.
Images in this review
Customer image Customer image
Customer imageCustomer image

Top reviews from other countries

3.0 out of 5 stars Okayish, aber einfach nicht gut
Reviewed in Germany on May 24, 2022
One person found this helpful
Report abuse
Florian Schaupp
5.0 out of 5 stars Gute Ansätze um den Kollegen die eigenen Spinnereien besser zu verklickern
Reviewed in Germany on June 16, 2022
5.0 out of 5 stars Sehr gut
Reviewed in Germany on January 23, 2022
One person found this helpful
Report abuse
Amiradel Beygzadeh
5.0 out of 5 stars The Book Than Fited in My Head
Reviewed in Canada on November 26, 2021
Report an issue

Does this item contain inappropriate content?
Do you believe that this item violates a copyright?
Does this item contain quality or formatting issues?