Clean Code: The Manager’s Guide to Building Quality Code cover image

Clean Code: The Manager’s Guide to Building Quality Code

How an engineering manager can stay true to the clean code principles, and lead a team that builds quality software.

Profile image of Robert Martin (uncle Bob)
May 23, 2022 • 38 min read
3.80 (10)
Programming
Quality-Driven development
Clean-code
Refactoring
Better Programming
Show more

Summary

In the grand scheme of things, doing something against the disciplines makes it feel like you're doing it faster but in the real sense, it takes you longer as you deliver poor-quality work that you'd need to improve over time. High-level programmer Robert Martin, AKA uncle bob, suggests that expending more time on your code is actually doing things faster in the world of coding as this leads to clean code. He states that dirty code slows down the development and delivery of tasks and managers should always expect high-quality codes while programmers should dedicate themselves to doing a great job to deliver clean code.

He also adds that a clean code is determined by the size of the methods and the functions. The functions should be simple and small. That way, when you assign names to your tiny functions, corresponding to statements like If or else, the code almost reads like a sentence. It makes it easy to test and detect bugs.

Takeaways

  • A clean code is determined by the size of the methods and the functions. The functions should be simple and small. That way, when you assign names to your tiny functions, corresponding to statements like If or else, the code almost reads like a sentence.
  • A dirty code slows down the development and delivery of tasks
  • Managers should always expect high-quality codes and programmers should dedicate themselves to doing a great job to deliver clean code.
  • Professional programmer, Robert Martin, describes clean code as one that looks like it was written by someone who cares. It encourages programmers to care about what they do as the cleaner the code, the faster the delivery and the happier the customers.

Suggested Resources