Κυριακή 11 Οκτωβρίου 2015

Principia Informatica






  • Avoid premature optimization.
  • Your code is well written when there is no need to optimize at all.
  • Try to eliminate global objects of any kind.
  • Devide and conquer; use functions.
  • Code duplication is forbidden.
  • Every software module must do a single, clear, simple job and do it well.
  • Every single job must be assigned to just one simple, clear software module.
  • Think a lot before you take any action.
  • You think better away from the computer. Take a walk!
  • There is no need to write code for unneeded features.
  • A single line of unneeded code is a menace.
  • Adapt software design to user needs and habits.
  • Avoid trying to adapt user needs and habits to software design.
  • Do not seat at your desk and try to imagine or invent potential user needs.
  • Try put yourself in user's shoes in order to discover real user needs.
  • Code quality and readability matters first, efficiency follows.
  • Do not write complicated code to impress people with your indisputable skills.
  • People will be attracted most by clarity, elegance and simplicity.
  • Program malfunction is not an option.
  • If an error occurs, your program must realize that an error has occured.