تفاصيل الدورة

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." - Martin Fowler

Poorly written code is hard to understand, maintain and test. But what separates poorly written code (aka code that smells) from beautiful code that talks? In this course, Mosh walks you through common code smells found in C# programs and how to refactor them using ReSharper. Refactoring is changing the design of the existing code without changing its external behaviour.


In every lecture, you'll see an example of a popular code smell with Mosh's explanations about what is wrong about that code and why. You'll then learn how to change the code in a safe and step-by-step fashion while minimising breaking changes. All the source codes presented in the lectures are available for download so you can practice these techniques on your own.


This course is packed with techniques and is a must for any C# developer who wants to improve the quality of their code.


By the end of this course, you'll be able to

  • Spot the smells in your code
  • Refactor your code using safe and fast refactoring techniques with ReSharper
  • Write clean code that is more readable and maintainable



In particular, you'll learn how to

  • Break long methods into smaller, more maintainable ones
  • Simplify nested / complex conditional blocks
  • Design the proper signature for your methods
  • Remove duplicated code
  • Refactor switch statements into an object-oriented design using polymorphism
  • Write C# code using the standard naming convention
  • And more...



تحديث بتاريخ 22 March, 2018
دورات يمكنك الالتحاق بها على الفور... خذ دورة عبر الإنترنت على Programming ابتداءً من الآن. See all courses