-
-
Notifications
You must be signed in to change notification settings - Fork 3
Zen Coding Precepts
Friendly Wookie edited this page Sep 24, 2018
·
10 revisions
- Write code that you would write naturally. Don't overthink.
- Think in terms of modularity so that you can re-use common idioms. That means named functions, file modules, libraries.
- Examine boundary cases, to pressure yourself to understand the problem domain.
- When you get to a roadblock, do some research, talk to colleagues, divide and conquer.
- If you have aspirations that you don't know how to express, change positions. Try management or a different job.
- 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.