Mantra

  • Listen to the problem/person. Listen again. (this is largely for me:)
  • what is the simplest and most effective way of accomplishing XYZ, not the most elegant? If it only requires a little bit of duct tape to get ‘er done, then use the duct tape. this means forsake OOD for a single script if necc.
  • is elegance a requirement or just to make me feel smarter?
  • reduce the features and requirements to as little as possible.
  • don’t try and look into the future for requirements. just satisfy what needs to be done now.
  • make methods as simple as possible and don’t try to make them encompass every use case possible; only satisfy the requirements.
  • write your tests to the requirements and possible unhappy paths; not ALL future scenarios.
  • don’t write it from scratch unless you really,really,really need to.