Writing Code that Lasts

Adapted from Writing Code that Lasts Longer by Steve Merritt published Dec 28, 2019

In order of what I think is most important.

Modularize


  // Initialization ----------------------------

  <section 1 code that initialized variables>

  // Find Optimal Value -----------------------

 <section 2 code that finds some optibal value>

  // Delete Temporary Variables --------------------

  <section 3 code that deletes variables>

  // -----------------

Simplicity (Maintainability) > Optimization

Show Your Work

Clear, explicit test code

Journal