Write better
Write better code
- Read good code, which is
- Performant: time, space and memory-efficient for the task
- Reliable: covers all cases
- Maintainable: readable and easily modified a decade from writing
- Practice writing code while remembering
- Plan before program
- Code readability > Novel tricks
- Self-documenting code
- Follow design patterns
- Not necessarily about fewer lines of code
- DRY: Don't Repeat Yourself
- Not WET: Write Everything Twice
- TDD: Test Driven Development
Write better literature
- Refine your drafts until they're sharp
- Avoid words that would not be used in everyday speech
- All the writing in a piece (including digressions) serve one unified purpose
- Stop when you know what comes next
More on
Core reading
Additonal reading