General Coding Best Practices


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number



Overview/Description
To outline the best practices for writing high quality methods, expressions, variables, arrays, loops, and if statements, and to describe recommended practices for writing readable code

Target Audience
Professional application developers or programmers, with at least 2 years experience, who want to learn the latest recommended techniques for developing high quality software

Prerequisites
Extensive knowledge of at least one of Java, C++, C#, or Visual Basic .NET; thorough familiarity with OOP concepts such as inheritance, encapsulation, and polymorphism; experience working in a team environment on a large software development project preferred, but not essential

Expected Duration (hours)
3.6

Lesson Objectives

General Coding Best Practices

  • recognize techniques for enhancing program readability in a given scenario.
  • determine an appropriate comment for a given piece of code.
  • recognize code readability standards.
  • recognize breaches of best practice guidelines for writing expressions and ordering lines of code.
  • recognize whether given examples comply with best practice guidelines for using types, arrays, variables, and alternatives to hard-coded values.
  • recognize whether given examples comply with well-structured flow-control best practice guidelines.
  • determine suitable structuring solutions to improve given code examples.
  • recognize ways to improve a given method.
  • recognize if given examples comply with best practice guidelines on handling arguments and return values.
  • recognize examples that comply with best practice guidelines for using exceptions.
  • evaluate given method samples for their adherence to best practice guidelines.
  • Course Number:
    219736_eng