Skip to Content
Software Mistakes and Tradeoffs
book

Software Mistakes and Tradeoffs

by Tomasz Lelek, Jonathan Skeet
May 2022
Intermediate to advanced
416 pages
13h 30m
English
Manning Publications

Overview

Optimize the decisions that define your code by exploring the common mistakes and intentional tradeoffs made by expert developers.

In Software Mistakes and Tradeoffs you will learn how to:

  • Reason about your systems to make intuitive and better design decisions
  • Understand consequences and how to balance tradeoffs
  • Pick the right library for your problem
  • Thoroughly analyze all of your service’s dependencies
  • Understand delivery semantics and how they influence distributed architecture
  • Design and execute performance tests to detect code hot paths and validate a system’s SLA
  • Detect and optimize hot paths in your code to focus optimization efforts on root causes
  • Decide on a suitable data model for date/time handling to avoid common (but subtle) mistakes
  • Reason about compatibility and versioning to prevent unexpected problems for API clients
  • Understand tight/loose coupling and how it influences coordination of work between teams
  • Clarify requirements until they are precise, easily implemented, and easily tested
  • Optimize your APIs for friendly user experience

Code performance versus simplicity. Delivery speed versus duplication. Flexibility versus maintainability—every decision you make in software engineering involves balancing tradeoffs. In Software Mistakes and Tradeoffs you’ll learn from costly mistakes that Tomasz Lelek and Jon Skeet have encountered over their impressive careers. You’ll explore real-world scenarios where poor understanding of tradeoffs lead to major problems down the road, so you can pre-empt your own mistakes with a more thoughtful approach to decision making.

Learn how code duplication impacts the coupling and evolution speed of your systems, and how simple-sounding requirements can have hidden nuances with respect to date and time information. Discover how to efficiently narrow your optimization scope according to 80/20 Pareto principles, and ensure consistency in your distributed systems. You’ll soon have built up the kind of knowledge base that only comes from years of experience.

About the Technology
Every step in a software project involves making tradeoffs. When you’re balancing speed, security, cost, delivery time, features, and more, reasonable design choices may prove problematic in production. The expert insights and relatable war stories in this book will help you make good choices as you design and build applications.

About the Book
Software Mistakes and Tradeoffs explores real-world scenarios where the wrong tradeoff decisions were made and illuminates what could have been done differently. In it, authors Tomasz Lelek and Jon Skeet share wisdom based on decades of software engineering experience, including some delightfully instructive mistakes. You’ll appreciate the specific tips and practical techniques that accompany each example, along with evergreen patterns that will change the way you approach your next projects.

What's Inside
  • How to reason about your software systematically
  • How to pick tools, libraries, and frameworks
  • How tight and loose coupling affect team coordination
  • Requirements that are precise, easy to implement, and easy to test


About the Reader
For mid- and senior-level developers and architects who make decisions about software design and implementation.

About the Authors
Tomasz Lelek works daily with a wide range of production services, architectures, and JVM languages. A Google engineer and author of C# in Depth, Jon Skeet is famous for his many practical contributions to Stack Overflow.

Quotes
Great book that I wish I had earlier in my career. Many hard-learned lessons contained in these pages.
- Dave Corun, Avanade

Clear and to-the-point summation of years of real-life experience in software engineering. A must-read for all newcomers to the software engineering world.
- Rafael Avila Martinez, Mastercard

Shines a light on the intrinsic conflicts of the programming process and how they impact the code you write.
- Roberto Casadei, Università di Bologna

Summarizes the main pain points for every software developer and presents solutions in a clear and didactic way.
- Nelson González, General Electric

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Software Mistakes and Tradeoffs, Video Edition

Software Mistakes and Tradeoffs, Video Edition

Tomasz Lelek, Jonathan Skeet
Real-World Software Development

Real-World Software Development

Raoul-Gabriel Urma, Richard Warburton
Flow Architectures

Flow Architectures

James Urquhart
Software Architecture Metrics

Software Architecture Metrics

Christian Ciceri, Dave Farley, Neal Ford, Andrew Harmel-Law, Michael Keeling, Carola Lilienthal, João Rosa, Alexander von Zitzewitz, Rene Weiss, Eoin Woods

Publisher Resources

ISBN: 9781617299209Publisher SupportPublisher WebsiteErrata Page