Udemy

C# Anti-Patterns: A List Of Programming Practices To Avoid

Enroll Now
  • 2,943 Students
  • Updated 5/2024
  • Certificate Available
4.3
(363 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
2 Hour(s) 55 Minute(s)
Language
English
Taught by
Mark Farragher
Certificate
  • Available
  • *The delivery and distribution of the certificate are subject to the policies and arrangements of the course provider.
Rating
4.3
(363 Ratings)
3 views

Course Overview

C# Anti-Patterns: A List Of Programming Practices To Avoid

This course will teach you many bad programming practices that every professional developer must know, but never use

BEST COURSE CHOICE for beginners and intermediate C# developers who want to take their programming skills to the next level.

Code reviews sometimes expose truly terrible code - mangled object hierarchies, judicious use of Parse and ToString, flow-control logic using Exceptions, and "reinvented wheel" classes littered with bugs.

In fact the same bad code tends to crop up over and over, which is why we call them "Anti-Patterns".

Anti-patterns are common responses to a recurring problem that are ineffective and highly counterproductive.

In a series of short lectures I am going to show you the most common C# anti-patterns. I will introduce each anti-pattern, show you why the pattern is bad, and how you can refactor the code to resolve the problem.

Why should you take this course?

You should take this course if you are a beginner or intermediate C# developer and want to take your skills to the next level. A thorough understanding of all common anti-patterns will help you enormously in your understanding of C# and the .NET Framework.

Or you might be working in a developer team and about to perform your first code review. The examples in this course will help you spot bad code quickly, and give you an idea what senior developers like to see at when they review code.

Or maybe you're preparing for a C# related job interview? This course will give you an excellent foundation to answer any questions about code quality they might throw at you.

Act now

This course contains over 3 hours of video content. Enroll now to benefit from the current price and get lifelong free access to all future materials.

Course Content

  • 5 section(s)
  • 23 lecture(s)
  • Section 1 Introduction
  • Section 2 This Code Will Fail A Code Review
  • Section 3 Bad Coding Practices From Actual Code Reviews
  • Section 4 Four Classic Anti-Patterns
  • Section 5 Final Words

What You’ll Learn

  • Learn to identify many common anti-patterns
  • How to abuse the .NET type system
  • The curse of the Swiss-Army Knife
  • Use the YAGNI principle to remove Crystal Balls
  • Real-life bad coding practices from actual code reviews
  • The "Assume the Worst" principle
  • Why is "Pattern Love" a bad thing?
  • Incorrect use of Exceptions
  • ... and much more!

Skills covered in this course


Reviews

  • G
    GAP Education
    4.5

    Great information to extend the c# knowledge for junior or intermediate developers.

  • J
    Jose Zamorano
    5.0

    The course is extremely useful with real world day to day cases that I can consider to improve my coding skills. Very well crafted with lots of theory and code examples. Very well made!

  • J
    Joshua Howard
    4.5

    I am one of those people who love to ask why and the Instructor answered that to the fullest extent. The content is really good and enjoyed the perspective. However, I think the pace was set too slow, there is often unnatural pausing that made me question if the video had stopped streaming and the 5 rules were repeated more than they should have been. I think the repetition was due to not fully planning section 2 & 3's content because section 4 seemed to resolve this.

  • M
    Mohamed Atef
    3.5

    Things that are good: Seeing design problems and their solution. Things that needs to be improved: The first section seems to be related to issue that faces people coming from c to c# and not actual c# design problems, it would be more useful if it is replaced by c# related topics. The code is not available for download in most of the topics (e.g. crystall ball). There is no actual real life code example in many topics, just the concept (e.g. assume the worst)

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed