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

4.20 (357 reviews)
Udemy
platform
English
language
Programming Languages
category
instructor
C# Anti-Patterns: A List Of Programming Practices To Avoid
2,908
students
3 hours
content
Mar 2024
last update
$39.99
regular price

What you will 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!

Why take this course?

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.

Screenshots

C# Anti-Patterns: A List Of Programming Practices To Avoid - Screenshot_01C# Anti-Patterns: A List Of Programming Practices To Avoid - Screenshot_02C# Anti-Patterns: A List Of Programming Practices To Avoid - Screenshot_03C# Anti-Patterns: A List Of Programming Practices To Avoid - Screenshot_04

Reviews

John
June 26, 2022
This is the second course I have done from Mark Farragher and like the first is full of great content and expertly presented.
Anthony
May 21, 2022
So far so good, had to set the course to 1.25 because the person is speaking very deliberately which is far too slow for normal listening in my case.
Joseph
December 13, 2021
I was back and forth on whether to give this course 4 or 4 1/2 stars - 4 seemed to harsh since the material is good but could have used a bit more code examples and live code refactoring to really make it shine.
Jose
August 7, 2021
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!
Andrew
May 1, 2021
I'm an experienced programmer. This was a good review and helped put words to good practices that were more instinctual than thought-out. There are some really valueable insites for the experienced programmer who is beginning to support the careers of younger programmers. I thinks important to learn how to guide without stifling. Marks is very good at describing the honest intent behind anti-patterns. That's an important component to a good senior engineer.
Joshua
April 17, 2021
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.
Orhan
January 8, 2021
It was good to learn basics or anti - patterns, my only advice is lecture can contains more examples for fixing anti patterns.
Daniel
December 30, 2015
This is slow-paced course that will fit the learning speed of everyone (just set the speed to 1,5x or 2x if needed). Great visual presentation and excellent audio quality. Recommended especially for programmers who want to switch from C or C++ to C#
Vaclav
December 28, 2015
This is a very nice walk-through about anti-patterns in c# with comprehensive explanations. I enjoyed all the parts but realised that this specific course would be very beneficial for any team leader to understand background of thinking of some developers and actually help them and manage to get the code right. I am not sure if those parts of the course would serve to some beginners, it might be just too much information how c++ works. I don't know how old this course is but I wish there was a follow course with simply focusing more on plain c#. The author explains all so well so it would be great to learn even more on this subject.
Michelle
December 4, 2015
Having really enjoyed C# Performance Tricks I anticipated another quality course but was severely disappointed. This felt like it had hastily been put together in a matter of hours. All of the code examples were taken from websites and code forums and were obvious examples of a students homework including a "Hello World". Add to that the constant belittling of developers with a background in other languages (particularly C and C++) it was a total waste of my time and money.
Michael
October 24, 2015
I enjoyed this course, with a few caveats. The pace is too slow. I played it at 2x, and only had to back up to pick up non-obvious material a few times. The examples were fine (particularly the Magic Properties example). I don't regret purchasing the course, but I was hoping for something a little more substantial.
Jonathan
October 6, 2015
Thankfully not too many though! This course showed me what to look for in other people's code which I'd never considered before
Jesus
October 1, 2015
I wanted to give it 4.5 stars because the course felt a bit slow a couple of times, but it's in general very good content. Even lessons that were basic in appearance had information that was new to me.
Ovni
September 26, 2015
Take this course if you're interested in learning what mistakes senior developers look for during a C# code review. The instructor is very familiar with C# does a great job of showing you code smells in C#, why they're a problem, where they come from, and how to fix/prevent them.
Niels
August 12, 2015
I found this to be a great course to increase my awareness of programming-missteps might commit without even realizing =) I've been using the course as a guide to review some of my older projects. After each lecture, I'll skim my code for that particular anti-pattern. Result: I discovered enough spaghetti to feed an Italian football team, but my new code is much easier to refactor ;-)

Charts

Price

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

Rating

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

Enrollment distribution

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

Related Topics

554318
udemy ID
7/14/2015
course created date
11/22/2019
course indexed date
Bot
course submited by