- Use nothing but what you absolutely must. Do not include a single line of code (especially from libraries) that you are not 100% sure you will use and that it is the simplest, most straightforward solution available.
- Write more human code. Give your non trivial variables (and functions) descriptive names. Make shorter lines but only if it does not compromise readability.
- Treat your code like poetry and take it to the edge of the bare minimum.
Tuesday, March 10, 2015
Great article: Writing Code for Humans
This great article, Writing Code for Humans, contains some great advice for writing more readable code. The advice includes:
Subscribe to:
Posts (Atom)