Clean Coding Techniques: Functions, Type Checking, Error Handling, & Testing

Beginner
  • 13 videos | 19m 3s
  • Includes Assessment
  • Earns a Badge
Rating 4.2 of 31 users Rating 4.2 of 31 users (31)
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.

WHAT YOU WILL LEARN

  • 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

IN THIS COURSE

  • 1m 7s
    Upon completion of this video, you will be able to describe functions and how they should be implemented in clean code. FREE ACCESS
  • 1m 35s
    In this video, you will discuss function naming and how it should be implemented in clean coding. FREE ACCESS
  • Locked
    3.  Function Arguments
    1m 13s
    Upon completion of this video, you will be able to specify function arguments and how to implement them in clean coding. FREE ACCESS
  • Locked
    4.  Parameters and Subdivision
    1m 4s
    In this video, you will learn about function parameters and why functions should be subdivided for clean coding. FREE ACCESS
  • Locked
    5.  Conditionals
    1m 19s
    In this video, you will discuss function conditionals and how they should be implemented in clean coding. FREE ACCESS
  • Locked
    6.  Global Functions
    1m 3s
    Upon completion of this video, you will be able to describe global functions and how to implement them in clean coding. FREE ACCESS
  • Locked
    7.  Levels of Abstraction
    1m 18s
    In this video, you will identify levels of abstraction and how to implement them in clean coding. FREE ACCESS
  • Locked
    8.  The Importance of Exception Handling
    1m 46s
    After completing this video, you will be able to describe the importance of exception handling and how to utilize it in clean coding. FREE ACCESS
  • Locked
    9.  Exception Handling Techniques
    1m 49s
    After completing this video, you will be able to recall exception handling techniques and how they can improve your code. FREE ACCESS
  • Locked
    10.  Type Checking
    1m 31s
    After completing this video, you will be able to specify type checking and how it relates to clean coding. FREE ACCESS
  • Locked
    11.  Side Effects
    1m 13s
    Upon completion of this video, you will be able to list side effects that can be experienced when using functions and recognize how to avoid them. FREE ACCESS
  • Locked
    12.  Names and Language
    1m 25s
    After completing this video, you will be able to describe best practices for naming, namespaces, objects, and functions. FREE ACCESS
  • Locked
    13.  Exercise: Describe Functions and Testing
    2m 40s
    After completing this video, you will be able to describe best practices for clean coding. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.3 of 146 users Rating 4.3 of 146 users (146)
Rating 4.4 of 9 users Rating 4.4 of 9 users (9)
Rating 4.1 of 54 users Rating 4.1 of 54 users (54)