Code That Fits in Your Head : Heuristics for Software Engineering
"Mark Seemann is well known for explaining complex concepts clearly and thoroughly. In this book he condenses his wide-ranging software development experience into a set of practical, pragmatic techniques for writing sustainable and human-friendly code. This book will be a must-read for every programmer."
-- Scott Wlaschin, author of Domain Modeling Made Functional 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 a deployed feature and shows how to maintain a good cruising speed as you add functionality, address cross-cutting concerns, troubleshoot, and optimize. 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. To facilitate deeper exploration, all code and extensive commit messages are available for download.
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 behavior
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.
Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.
- Paperback | 400 pages
- 11 Nov 2021
- Pearson Education (US)
- Addison Wesley
- Boston, United States
Other books in this series
09 Apr 2009
10 Nov 2005
Table of contents
About the Author
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