Rabu, 11 Juli 2012

The Programmer's Code - 27 Rules to Code By


Daily Disciplines

  1. Be consistent.
  2. Fail fast and hard.
  3. Never write the same code twice.
  4. Be explicit.
  5. Code for the maintainer.
  6. Adapt and adopt.
  7. Simplify, simplify, simplify. Or I just say, simplify.
  8. Minimize scope.


Design Disciplines

  1. Beware the BSOD (Bright Shiny Object of the Day).
  2. Layers, levels, loops and bubbles.
  3. Make decisions at the lowest level possible.
  4. Favor composition over inheritance.
  5. Minimize dependencies.
  6. Names matter.
  7. Don't design the future.
  8. Functional first.
  9. Everything is an API.
  10. Minimize UI code.


Attitudes

  1. Humility happens.
  2. Never say *should*, *impossible* or *it works for me*.
  3. Everything is possible with enough time and money.
  4. Think like a user.
  5. The Missouri Mind (Show Me)


Precepts

  1. Assess often.
  2. If it's not demoed, it's not done.
  3. If it can be forgotten, it will be.
  4. Rules are best broken by those who have mastered them.

Tidak ada komentar:

Posting Komentar