YoVDO

Defensive Coding in C#

Offered By: Pluralsight

Tags

C# Courses Unit Testing Courses Code Quality Courses Clean Code Courses

Course Description

Overview

Learn techniques for strengthening your application’s defenses against the perils awaiting it in the real world. You will see how to write clean code, create unit tests, build clear methods, and prepare for the unexpected.

Great applications perform required operations as expected, help users enter correct data, handle system and application exceptions, and make it easy for future developers to modify and maintain the code. Defensive coding focuses on improving code comprehension through clean code, improving code quality with unit tests, and improving code predictability by building clear methods and preparing for the unexpected. In this course, Defensive Coding in C#, you will gain the ability to strengthen your application’s defenses against the perils awaiting it in the real world. First, you will learn how to improve your code comprehension by following techniques such as the Single Responsibility principle. Next, you will discover how to improve your code quality through unit tests. Finally, you will explore how to improve your code predictability by validating method arguments, handling nulls appropriately, returning predictable results, and managing exceptions. When you are finished with this course, you will have the skills and knowledge needed to strengthen your code’s defenses.

Syllabus

  • Course Overview 1min
  • Why Defensive Coding Matters 10mins
  • Strengthening Our Code’s Defenses 23mins
  • Validating Method Arguments 26mins
  • Handling Nulls 25mins
  • Returning Predictable Results 23mins
  • Managing Exceptions 17mins
  • Final Words 5mins

Taught by

Deborah Kurata

Related Courses

A Practical Introduction to Test-Driven Development
LearnQuest via Coursera
Android App Development
Vanderbilt University via Coursera
Building Interactive User Interfaces Using React Library
NIIT StackRoute via Coursera
Основы разработки на C++: жёлтый пояс
Moscow Institute of Physics and Technology via Coursera
Learn Intermediate Python 3
Codecademy