YoVDO

Clean Coding Principles in C#

Offered By: Pluralsight

Tags

C# Courses Code Optimization Courses Code Readability Courses

Course Description

Overview

Clean code is the art of writing code that humans can understand. Learn how to write C# in a style that's easy to write, read, and maintain. This course is filled with clear comparisons between "dirty" C# code to avoid, and the "clean" C# equivalent.

Clean code is the art of writing code that humans can understand. In this course, Clean Coding Principles in C#, you'll elevate your professionalism and increase your C# code quality by writing with the reader in mind. This course is built upon three core clean coding practices: selecting the right tool for the job, optimizing the signal to noise ratio, and creating self-documenting logic. Throughout this course you'll see clear comparisons between "dirty" C# code to avoid and the "clean" equivalent. You'll explore patterns like arrow code, failing fast, returning early, magnet classes, mayfly variables, techniques for reducing method complexity, and much more. These practices are the foundation for a professional development career and provide developers a clear vocabulary for evaluating code quality.

Syllabus

  • Course Overview 1min
  • Why Writing Clean Code Matters 10mins
  • Clean Coding Principles 20mins
  • Naming 15mins
  • Writing Conditionals That Convey Intent 24mins
  • Writing Clean Methods 26mins
  • Writing Clean Classes 17mins
  • Writing Clean Comments 20mins
  • Demo: Refactoring to Clean C# 56mins
  • Staying Clean 5mins

Taught by

Cory House

Related Courses

Writing Professional Code
Microsoft via edX
Agile Software Development: Clean Coding Practices
LinkedIn Learning
C# Refactoring Tips and Tricks
LinkedIn Learning
What's New in Visual Studio 2017 for F# For Developers
LinkedIn Learning
Write your first code using C# (Get started with C#, Part 1)
Microsoft via Microsoft Learn