Write better

File size
6.3KB
Rendered lines
144

Write better

Everything starts from how you communicate your ideas.

Write better code

  1. Read good code, which is
  2. Performant: time, space and memory-efficient for the task
  3. Reliable: covers all cases
  4. Maintainable: readable and easily modified a decade from writing
  5. Practice writing code while remembering
  6. Plan before program
  7. Code readability > Novel tricks
  8. Self-documenting code
  9. Follow design patterns
  10. Not necessarily about fewer lines of code
  11. DRY: Don't Repeat Yourself
  12. Not WET: Write Everything Twice
  13. TDD: Test Driven Development

Write better literature

  1. Refine your drafts until they're sharp
  2. Avoid words that would not be used in everyday speech
  3. All the writing in a piece (including digressions) serve one unified purpose
  4. Stop when you know what comes next

More on

Core reading

Additonal reading