11 rules of effective programming

  • Leave your code better than you found it.
  • Think about the total cost of ownership: cutting corners, skipping tests for later or creating temporary fixes have costly long term repercussions.
  • Look for repeatable patterns from references or projects around you or online that have implemented a feature with similar requirements.
  • Micro-optimization can easily make your code a mess and does not bring much value to users.
  • The cost of fixing bugs grows exponentially over time. Discovering problems early makes them easier to solve too.
  • Avoid multitasking. Studies show that it has a negative impact on performance and productivity.

Full post here, 8 mins read