Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.89 KB

File metadata and controls

39 lines (22 loc) · 1.89 KB

Clean Code
By Robert C Martin

  • "Honesty in small things is not a small thing."

  • Old American saying: "A place for everything, and everything in its place."

  • LeBlanc's law: Later equals never.

  • In 1951, Total Productive Maintenance (TPM) 5S principles. 5S is a set of disciplines

    1. Seiri, or organization (think “sort” in English). Knowing where things are
    2. Seiton, or tidiness (think “systematize” in English).
    3. Seiso, or cleaning (think “shine” in English):
    4. Seiketsu, or standardization: The group agrees about how to keep the workplace clean.
    5. Shutsuke, or discipline (self-discipline).
  • we should probably re-do major software chunks from scratch every seven years or so to sweep away creeping cruft.

  • rework in the manufacturing metaphor leads to cost, rework in design leads to value

  • There are two parts to learning craftsmanship: knowledge and work. You must gain the knowledge of principles, patterns, practices, and heuristics that a craftsman knows, and you must also grind that knowledge into your fingers, eyes, and gut by working hard and practicing.

  • The name of a variable, function, or class, should answer all the big questions.

Page-54

Code That Fits In Your Head

  • Only unsuccessful software ends. Successful software endures.

  • LaTex software released in 1984.

  • Growing a Garden metaphore on software development sees software as a living organism that must be tended, coaxed, and pruned. A code base has a life of its own :)-

  • I was following heuristics when I programmed - rules of thumb and guidelines that can be taught.

  • git commit --allow-empty -m "Initial commit"

  • A Walking Skeleton is an implementation of the thinnest possible slice of real functionality that you can automatically build, deploy, and test end-to-end