Clean Coding Techniques: Functions, Type Checking, Error Handling, & Testing
Beginner
- 13 Videos | 19m 3s
- Includes Assessment
- Earns a Badge
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 codingdiscuss function naming and how it should be implemented in clean codingspecify function arguments and how they should be implemented in clean codingdefine function parameters and why functions should be subdivided in clean codingdiscuss function conditionals and how they should be implemented in clean codingdescribe global functions and how they should be implemented in clean codingidentify 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 codingrecall exception handling techniques and how they improve codespecify type checking and how it relates to clean codinglist side effects that can be experienced when using functions and recognize how they can be avoideddescribe best practices for naming, namespaces, objects, and functionsdescribe clean coding best practices
IN THIS COURSE
-
1.Introduction to Functions1m 7sUP NEXT
-
2.Function Naming1m 35s
-
3.Function Arguments1m 13s
-
4.Parameters and Subdivision1m 4s
-
5.Conditionals1m 19s
-
6.Global Functions1m 3s
-
7.Levels of Abstraction1m 18s
-
8.The Importance of Exception Handling1m 46s
-
9.Exception Handling Techniques1m 49s
-
10.Type Checking1m 31s
-
11.Side Effects1m 13s
-
12.Names and Language1m 25s
-
13.Exercise: Describe Functions and Testing2m 40s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.