• Online, Self-Paced
Course Description

Clean coding means better code through often rigid standards. In this course, you'll learn clean coding through the use of functions, error handling, testing, and other best practices.

Learning Objectives

Clean Coding & Functions

  • 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

Function Fundamentals

  • 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

Error Handling

  • describe the importance of exception handling and how it should be utilized in clean coding
  • recall exception handling techniques and how they improve code

Other Best Practices

  • 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

Practice: Functions and Testing

  • describe clean coding best practices

Framework Connections

The materials within this course focus on the Knowledge Skills and Abilities (KSAs) identified within the Specialty Areas listed below. Click to view Specialty Area details within the interactive National Cybersecurity Workforce Framework.