~ read.
UNIX for Developers

UNIX for Developers


  1. Small is beautiful.
  2. Make each program do one thing well.
  3. Build a prototype as soon as possible.
  4. Choose portability over efficiency.
  5. Store data in flat text files.
  6. Use software leverage to your advantage.
  7. Use shell scripts to increase leverage and portability.
  8. Avoid captive user interfaces.
  9. Make every program a filter.

This is the Unix philosophy: Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface.

Under NodeJS

  1. Write modules that do one thing well. Write a new module rather than complicate an old one.
  2. Write modules that encourage composition rather than extension.
  3. Write modules that handle data Streams, because that is the universal interface.
  4. Write modules that are agnostic about the source of their input or the destination of their output.
  5. Write modules that solve a problem you know, so you can learn about the ones you don�t.
  6. Write modules that are small. Iterate quickly. Refactor ruthlessly. Rewrite bravely.
  7. Write modules quickly, to meet your needs, with just a few tests for compliance. Avoid extensive specifications. Add a test for each bug you fix.
  8. Write modules for publication, even if you only use them privately. You will appreciate documentation in the future.

Keep in mind

  1. Working is better than perfect.
  2. Focus is better than features.
  3. Compatibility is better than purity.
  4. Simplicity is better than anything.


When abstractions are kept to the minimum necessary, it's much easier to see which ones are good ideas and which ones are mistaken ideas. With larger collections of ideas branded into cohesive framework ideologies, it's very easy for unjustified abstractions to sneak in under the cover of the more useful pieces. � Substack

I didn't write nothing of this, but we, programmers, forget important things, and I wanted to collect it in one place.

@ Unix in Wikipedia @ Substack blogspot @ izs blogspot