Code That Fits in Your Head: Heuristics for Software Engineering, 1st edition

Published by Addison-Wesley Professional (November 2, 2021) © 2022

  • Mark Seemann
Products list
Products list

This product is expected to ship within 5-7 business days for Australian customers.

How to reduce code complexity and develop software more sustainably

Code That Fits in Your Head offers indispensable, practical advice for writing code at a sustainable pace and controlling the complexity that causes projects to spin out of control.
Reflecting decades of experience helping software teams succeed, Mark Seemann guides you from zero (no code) to deployed features and shows how to maintain a good cruising speed as you add functionality, address cross-cutting concerns, troubleshoot, and optimise. You'll find valuable ideas, practices, and processes for key issues ranging from checklists to teamwork, encapsulation to decomposition, API design to unit testing.
Seemann illuminates his insights with code examples drawn from a complete sample project. Written in C#, they're designed to be clear and useful to anyone who uses any object-oriented language including Java , C++, and Python.

  • Choose mindsets and processes that work, and escape bad metaphors that don't
  • Use checklists to liberate yourself, improving outcomes with the skills you already have
  • Get past 'analysis paralysis' by creating and deploying a vertical slice of your application
  • Counteract forces that lead to code rot and unnecessary complexity
  • Master better techniques for changing code behaviour
  • Discover ways to solve code problems more quickly and effectively
  • Think more productively about performance and security
If you've ever suffered through bad projects or had to cope with unmaintainable legacy code, this guide will help you make things better next time and every time.
  • Part I: Acceleration
  • Chapter 1: Art or Science?
  • Chapter 2: Checklists
  • Chapter 3: Tackling Complexity
  • Chapter 4: Vertical Slice
  • Chapter 5: Encapsulation
  • Chapter 6: Triangulation
  • Chapter 7: Decomposition
  • Chapter 8: API Design
  • Chapter 9: Teamwork
  • Part II: Sustainability
  • Chapter 10: Augmenting Code
  • Chapter 11: Editing Unit Tests
  • Chapter 12: Troubleshooting
  • Chapter 13: Separation of Concerns
  • Chapter 14: Rhythm
  • Chapter 15: The Usual Suspects
  • Chapter 16: Tour
  • Appendix A: List of Practices

Need help? Get in touch