Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Clean Coding Principles in C#

via Pluralsight

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

Reviews

4.8 rating at Pluralsight based on 492 ratings

Start your review of Clean Coding Principles in C#

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.