1. Home
  2. Level-Up Engineering Podcast 🎤

Apr 20, 2020

When programmers must tell managers no

Robert C. Martin

38 min → 1:36

Overview

Robert C. Martin, known as Uncle Bob, explains why writing clean code is essential for long-term development speed, how to manage technical debt, and when programmers must refuse unrealistic deadlines.

3 things to know

Martin: Messy code always slows down future software work

Robert C. Martin argues that keeping a codebase clean is the only way to move fast in software development, because rushing with messy code for short-term deadlines always slows down future work.

More

The central argument is that the only way to "go fast" in software development is to keep the codebase clean.

▶ Watch at 3:37

Professional Responsibility

Writing clean code is presented as a non-negotiable professional duty, similar to a surgeon maintaining a sterile environment.

More

It is the developer's responsibility to uphold quality standards, not a business decision to be negotiated.

▶ Watch at 20:03

Developer-Manager Dynamics

A healthy relationship requires developers to communicate honestly about what is possible and for managers to trust their team's technical judgment.

More

Programmers must be prepared to say "no" to requests that would compromise the integrity of the system.

▶ Watch at 18:29

Also in this episode

The Boy Scout Rule

To manage existing technical debt in large codebases, the recommended approach is to make small, incremental improvements continuously.

More

Every time a developer touches a module, they should leave it a little cleaner than they found it.

▶ Watch at 23:15

The Clean Coder covers developer ethics and discipline

Clean Code focuses on the technical craft of writing good code, while The Clean Coder addresses the discipline, ethics, and professionalism needed by software developers.

▶ Watch at 2:56

Mentorship and Experience Gap

With the industry doubling in size every five years, there is a significant experience gap.

More

Senior developers have a responsibility to mentor junior developers, with pair programming being a highly effective method for knowledge transfer.

Quotes

“The only way to go fast is to keep your workspace clean.”

▶ Watch at 3:37

“Asking your manager if it's okay to refactor code is like asking your manager if it's okay to wash your hands after using the bathroom.”

▶ Watch at 20:03

“One of the most important things a programmer can say to a manager is the word 'no'.”

▶ Watch at 18:29

2 more quotes

“Clean code always looks like it was written by someone who cares.”

▶ Watch at 2:56

“We will adopt a new rule, and the new rule is we will check every module in just a little cleaner than when we checked it out.”

▶ Watch at 23:15

Full summary

Episode Overview

  • Robert C. Martin ("Uncle Bob") argues that writing clean code is a professional discipline essential for maintaining long-term development speed, debunking the myth that cutting corners on quality saves time.
  • The conversation explores the crucial relationship between developers and managers, emphasizing that programmers have a professional duty to maintain quality and communicate honestly, even if it means saying "no" to unrealistic deadlines.
  • The discussion distinguishes between Clean Code (technical practices) and The Clean Coder (professionalism and personal discipline), highlighting the human side of software development.
  • Practical strategies are provided for managing technical debt, advocating for continuous, incremental improvements (the "Boy Scout Rule") over large, risky cleanup projects.
  • The importance of mentorship, particularly through pair programming, is stressed as a way to address the experience gap in a rapidly growing industry.

Key Concepts

  • Quality Equals Speed: The central argument is that the only way to "go fast" in software development is to keep the codebase clean. Writing messy code to meet short-term deadlines is a false economy that inevitably slows down future progress.
  • Professional Responsibility: Writing clean code is presented as a non-negotiable professional duty, similar to a surgeon maintaining a sterile environment. It is the developer's responsibility to uphold quality standards, not a business decision to be negotiated.
  • Developer-Manager Dynamics: A healthy relationship requires developers to communicate honestly about what is possible and for managers to trust their team's technical judgment. Programmers must be prepared to say "no" to requests that would compromise the integrity of the system.
  • Clean Code vs. *The Clean Coder: Clean Code focuses on the technical craft of writing good code, while The Clean Coder* addresses the discipline, ethics, and professionalism required to be a successful software developer.
  • The Boy Scout Rule: To manage existing technical debt in large codebases, the recommended approach is to make small, incremental improvements continuously. Every time a developer touches a module, they should leave it a little cleaner than they found it.
  • Mentorship and Experience Gap: With the industry doubling in size every five years, there is a significant experience gap. Senior developers have a responsibility to mentor junior developers, with pair programming being a highly effective method for knowledge transfer.

Quotes

  • At 2:56 - "Clean code always looks like it was written by someone who cares." - Uncle Bob shares his favorite definition of clean code, which he attributes to Michael Feathers, highlighting the element of craftsmanship and pride.
  • At 3:37 - "The only way to go fast is to keep your workspace clean." - This is the fundamental principle Uncle Bob presents. A mess, whether on a physical desk or in the codebase, inevitably slows you down.
  • At 18:29 - "One of the most important things a programmer can say to a manager is the word 'no'." - Highlighting the professional responsibility of programmers to be honest about what is achievable.
  • At 20:03 - "Asking your manager if it's okay to refactor code is like asking your manager if it's okay to wash your hands after using the bathroom." - A powerful analogy stressing that maintaining code quality is a non-negotiable part of a programmer's professional hygiene.
  • At 23:15 - "We will adopt a new rule, and the new rule is we will check every module in just a little cleaner than when we checked it out." - Describing the "Boy Scout Rule" as the practical way to clean up a messy codebase over time.

Takeaways

  • Prioritizing code quality is the only sustainable way to maintain development speed; messy code is the single greatest cause of slowdown.
  • Treat code cleanliness and refactoring as an intrinsic part of your job, not an optional task that requires managerial permission.
  • Address large-scale technical debt gradually using the "Boy Scout Rule" by leaving code cleaner than you found it, rather than attempting massive, standalone cleanup projects.
  • Uphold professional integrity by communicating honestly with management about timelines and refusing to compromise on quality to meet unrealistic demands.
  • Senior developers should actively mentor junior developers, using practices like pair programming to pass down critical knowledge and maintain professional standards.

Watch the full episode 38 min

Read along with the audio summary

Cutting corners on software quality seems like a quick way to save time, yet Robert C. Martin, known as Uncle Bob, argues it is a myth that inevitably slows down future progress. In this podcast episode that came out on April 20, 2020, Uncle Bob discusses the human and technical sides of software development. By the end, you will learn how to maintain development speed, manage technical debt, and navigate demands from management.

The secret to moving fast in software development is focusing on quality. Writing messy code to meet short term deadlines is a false economy. Uncle Bob presents a fundamental principle that the only way to go fast is to keep your workspace clean. Whether it is a physical desk or a software codebase, a mess inevitably slows you down. To maintain your long term development speed, prioritize keeping your code clean rather than cutting corners.

That need for cleanliness is not a business decision to be negotiated, which brings us to why code quality is a non negotiable professional duty. Uncle Bob points out that asking your manager if it is okay to refactor is like asking if it is okay to wash your hands after using the bathroom. Upholding quality standards is similar to a surgeon maintaining a sterile environment, making it the developer's responsibility alone. Treat code cleanliness and refactoring as an intrinsic part of your job, not an optional task that requires managerial permission.

Upholding that standard requires a specific dynamic between developers and managers. One of the most important things a programmer can say to a manager is the word no. A healthy working relationship requires developers to communicate honestly about what is possible, and it requires managers to trust their team's technical judgment. Be prepared to say no to unrealistic deadlines or requests that would compromise the integrity of your system.

The difference between Clean Code and The Clean Coder shows how technical craft and human behavior work together. While Clean Code focuses on the technical craft and practices of writing good code, The Clean Coder addresses the human side of software development. It covers the personal discipline, ethics, and professionalism required to be a successful developer.

You can manage existing technical debt in large codebases by using the Boy Scout Rule. Trying to fix it with massive, standalone cleanup projects is risky. Instead, the recommended approach is to make small, incremental improvements continuously. Every time you touch a software module, check it back in a little cleaner than when you found it.

Because the industry is doubling in size every five years, there is a significant shortage of experienced programmers. Senior developers have a responsibility to mentor junior developers to pass down critical knowledge and maintain professional standards. If you are a senior developer, actively mentor junior team members by using practices like pair programming as a highly effective method for knowledge transfer.

Prioritizing code quality is the only sustainable way to maintain development speed, because messy code is the single greatest cause of slowdown. As Uncle Bob shares from Michael Feathers, clean code always looks like it was written by someone who cares.

More from Level-Up Engineering Podcast 🎤

Related Episodes