Explore
Module 1 · Part 1 of 12 · Free preview

Part 1

Chapter 1: The Commit Fallacy--–- The first time I saw an engineer cry at work, it wasn’t because of a production outage, a missed deadline, or a toxic customer meeting. It was because her manager had printed out her Git commit history for the past three months and highlighted every day where she had committed fewer than six times.Her name was Priya. She was a senior backend engineer with twelve years of experience, six patents, and a track record of turning around failing projects. She had joined this particular startup nine months earlier, drawn by the promise of “engineering excellence” and “data-driven management.” What she found instead was a commit leaderboard.Every Friday afternoon, a dashboard auto-emailed the entire engineering organization.

It ranked every engineer by commits per day, lines added, lines deleted, and a proprietary “productivity score” that no one could explain but everyone feared. Priya, who had spent the last three weeks refactoring a brittle payment processing module, had deleted over eight thousand lines of code and added only twelve hundred. Her commit count was low because she believed in atomic commits—each one representing a complete, tested, working change. The manager’s highlighted printout didn’t care about atomicity. It cared about volume.“Six commits is below the team average,” the manager said, sliding the printout across the table. “I need to see more activity.”Priya didn’t explain the refactoring.

She didn’t point out that the payment module had gone from failing 12 percent of transactions to failing 0.3 percent. She didn’t mention that the three engineers who ranked highest on the commit leaderboard had also introduced seventeen hotfixes that quarter—seventeen—while she had introduced zero. She just sat there, staring at the yellow highlights, and cried.I heard this story two weeks later when Priya’s entire team resigned in protest. All six engineers. The startup spent the next four months trying to rebuild, lost two major clients due to instability, and eventually sold for parts at less than a third of its peak valuation. The commit leaderboard outlived the company by exactly zero days.This chapter is about why that happens.

Keep reading — free

Sign in with your SamEnrico account to read the whole of lesson 1.

Sign in