one rule to rule them all

Abstract

One rule to rule them all: Make it easier to change

All design patterns, principles, etc… are aimed to have code easier for change. Perfect / correct code does not exist, aim for code that is easy to change.

Build intuition, which is crucial for coding:

  • What is the change?
    • One sentence summary
  • Likely effort
    • functions changed
    • estimated time
  • Actual effort
    • functions changed
    • actual time
  • Observations
    • Learn anything?
  • Tips:
    • handwrite, don’t type
    • ideally read aloud
    • stick then in a file and forget about them
    • start listening to your gut