Skip to content

Instantly share code, notes, and snippets.

@vaibhavpaliwal
vaibhavpaliwal / clean_code_summary.md
Created April 29, 2020 15:41
Summary of Clean Code

My learnings from Clean Code book by Martin fowler

General

  • You know you are working on clean code when each routine you read turns out to be pretty much what you expected.

  • The next time you write a line of code, remember you are an author, writing for readers who will judge your effort. The ratio of time spent reading vs. writing is well over 10:1. We are constantly reading old code as part of the effort to write new code. Because this ratio is so high, we want the reading of code to be easy, even if it makes the writing harder.

  • Leave the campground cleaner than you found it. -Boy scout rule