Skip to content

Zen Coding Precepts

Friendly Wookie edited this page Sep 24, 2018 · 10 revisions
  1. Write code that you would write naturally. Don't overthink.
  2. Think in terms of modularity so that you can re-use common idioms. That means named functions, file modules, libraries.
  3. Examine boundary cases, to pressure yourself to understand the problem domain.
  4. When you get to a roadblock, do some research, talk to colleagues, divide and conquer.
  5. If you have aspirations that you don't know how to express, change positions. Try management or a different job.
  6. Finally, if you find that your natural code doesn't pass the mustard, step back a 1000 miles and look at the architecture of data flows. If functions are taking many parameters, you probably haven't divided the problem properly.
Clone this wiki locally