Lazy, not negligent

  1. 1Does this need to exist at all?
  2. 2Already in the codebase? Reuse it.
  3. 3Does the standard library do it?
  4. 4Does the platform do it?
  5. 5Does an installed dependency do it?
  6. 6One line? One line.
  7. 7Only then, the least code that works.

Never cut input checks, error handling, security or accessibility.

Slide 15 of 19