Last updated: Dec 13, 23 17:42 UTC | Permalink

3 - Best Practices for Effective Programmers

Learning Objectives:

This lecture is about writing code that other people will be able to understand, reuse, and modify. We’ve distilled this down to five general program-design princples which should be best practices for effective programmers:

  • Use Good Names
  • Make Your Data Mean Something
  • One Method/One Job
  • Don’t Repeat Yourself
  • Don’t Hardcode Things That Are Likely To Change

By the end of this lesson you should be able to:

  • Describe the purpose of our design principles
  • List 5 Best Practices for Effective Programmers with examples
  • Identify some violations of the principles and suggest ways to mitigate them

Important Dates:

Lecture Slides:

Activities:

Resources


© 2023 Adeel Bhutta and Mitch Wand. Released under the CC BY-SA license