10 Development Practices

For tonight’s XtC:

  • Short methods
  • Classes with personality – do one job well
  • Minimise duplication
  • Clearly express intent
  • Test algorithms not implementation
  • Code to interfaces
  • Law of Demeter / Tell Don’t Ask
  • Methods that return values should be idempotent
  • Demarcate functional individuality with interfaces
  • Understand the big picture – what problem are you trying to solve?

View image

Advertisements