10 Essential (Software) Development Practices

Ten Essential Development Practices is an article from Perl.com (O’Reilly) based on Perl Best Practices, a book on Perl coding and development guidelines. Given how obvious the items on this list are, it’s surprising how this isn’t followed.

  1. Design the Module’s Interface First
  2. Write the Test Cases Before the Code
  3. Create Standard POD Templates for Modules and Applications
  4. Use a Revision Control System
  5. Create Consistent Command-Line Interfaces
  6. Agree Upon a Coherent Layout Style and Automate It with perltidy
  7. Code in Commented Paragraphs
  8. Throw Exceptions Instead of Returning Special Values or Setting Flags
  9. Add New Test Cases Before you Start Debugging
  10. Don’t Optimize Code–Benchmark It