WordCamp US 2019 – Code Like A Writer – Alex Ball
Writing Principles
- Punctuation Saves Lives
- Separate your metaphors
- separate your concerns
- making good comments
Coding Principles
- Syntax
- Form – code formatting
- Spellcheck – code linting
- DRY – Don’t repeat yourself
- Redundant words just take up time
- Code is Poetry
- Being creative
- Clean and concise
- Doing as much as it can with as little as possible
- In Stories Someone Usually Dies in the End
- In AJAX function wp_die() at the end.