Making Your C# Code More Object-oriented

This course will help leverage your conceptual understanding to produce proper object-oriented code, where objects will completely replace procedural code for the sake of flexibility and maintainability.
Course info
Rating
(729)
Level
Intermediate
Updated
Oct 19, 2016
Duration
7h 4m
Table of contents
Course Overview
Attaining Extensibility with Object-oriented Code
Rendering Branching Over Boolean Tests Obsolete
Keeping the Focus on Domain Logic with Sequences
Untangling Structure from Operations on Business Data
Turning Algorithms into Strategy Objects
Using Immutable Objects When Possible
Leveraging Special Case Objects to Remove Null Checks
Turning Optional Calls into Calls on Optional Objects
Increasing Flexibility by Avoiding Switch Statements
Turning Chained Branching into the Chain of Rule Objects
Refactoring to Bind It All Together
Description
Course info
Rating
(729)
Level
Intermediate
Updated
Oct 19, 2016
Duration
7h 4m
Description

Programmers do have conceptual understanding of OO concepts, but often fail to turn that into a proper object-oriented code. In this course, Making Your C# Code More Object-oriented, you'll learn how to create proper object-oriented code. First, you'll learn how to avoid branching and looping. Next, you'll learn how to avoid Boolean expressions. Finally, you'll learn how to make domain logic implementation dynamic and configurable. By the end of this course, you'll be able to recognize your own error of the past and build more correct coding style.

About the author
About the author

Zoran Horvat is Principal consultant at Coding Helmet Consultancy, speaker and author of 100+ articles, and independent trainer on .NET technology stack.

More from the author
Writing Purely Functional Code in C#
Advanced
4h 14m
May 23, 2018
Making Your C# Code More Functional
Intermediate
3h 54m
Jan 24, 2018
Advanced Defensive Programming Techniques
Intermediate
6h 22m
Aug 25, 2017
More courses by Zoran Horvat
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Zoran Horvat, and welcome to my course, Making Your C# Code More Object-oriented. I am a principal consultant at Coding Helmet, and part of my work involves correcting other people's code. What I find funny about that is that most, and I do mean most of the code I read, is really not object-oriented. It is rather procedural, with classes and modules only being the formal containers of code. Well, in this course, we are going to show what it takes to put a stop on that practice. You will see how to avoid branching and looping, how to avoid Boolean expressions, how to make domain logic implementation dynamic and configurable. Those are the traits of proper object-oriented code. By the end of this course, you will be able to recognize your own errors of the past, and to build a more correct coding style. Before beginning the course, you should be familiar with such concepts as polymorphism, inheritance, and similar. You should also master the C# language itself, like having no second thoughts about the control structures or delegates, for example. From here, you should feel comfortable diving into related courses on the C# language internals or defensive coding, to name a few. I hope you will join me on this journey to learn _____ the dreaded object-oriented programming with the Making Your C# Code More Object-oriented course at Pluralsight.