Functions, Type Checking, Error Handling, and Testing


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



Overview/Description
Clean coding means better code through often rigid standards. Explore clean coding through the use of functions, error handling, testing, and other best practices. In this course, you will get introduced to function naming, arguments, parameters, subdivision, conditionals, global functions, abstraction levels, exception handlers, type checking, namespaces, and object naming best practices. Learn that functions should only perform one action, to avoid unintended side effects on the rest of your code. Finally, as a review exercise, you will describe clean coding best practices as they relate to function names, function parameters, exception handling, and the definitions of objects and functions.

Target Audience
Software developers who wish to learn and implement clean coding techniques

Prerequisites
None

Expected Duration (hours)
0.4

Lesson Objectives

Functions, Type Checking, Error Handling, and Testing

  • start the course
  • describe functions and how they should be implemented in clean coding
  • discuss function naming and how it should be implemented in clean coding
  • specify function arguments and how they should be implemented in clean coding
  • define function parameters and why functions should be subdivided in clean coding
  • discuss function conditionals and how they should be implemented in clean coding
  • describe global functions and how they should be implemented in clean coding
  • identify levels of abstraction and how they should be implemented in clean coding
  • describe the importance of exception handling and how it should be utilized in clean coding
  • recall exception handling techniques and how they improve code
  • specify type checking and how it relates to clean coding
  • list side effects that can be experienced when using functions and recognize how they can be avoided
  • describe best practices for naming, namespaces, objects, and functions
  • describe clean coding best practices
  • Course Number:
    sd_clco_a05_it_enus

    Expertise Level
    Beginner