4.39 out of 5
248 reviews on Udemy

Using SOLID Principles to Write Better Code – A Crash Course

Software Architecture: A rapid, hard-hitting introduction to designing great object-oriented code in Java, C# and more.
Riaan Nel
1,238 students enrolled
Apply SOLID principles in order to write better code.
Use SOLID principles to evaluate existing code.
Understand the long-term benefits of writing good code.
Understand the characteristics that help differentiate good code from bad code.
Understand software architecture principles that can help you produce well-structured code.

Write Better Code

It’s easy enough to write code that works – however, code that simply ‘works’ just isn’t good enough.  Is it easy to understand?  Is it easy to maintain?  Is it easy to change?  Is it easy to test?  In other words – does it employ good software architecture principles?

This course is about helping you to learn how to write good code using tried-and-tested principles from the world of object-oriented software development in languages like Java and C#.  Specifically, we’ll unpack what SOLID means, what its benefits are, and how you can apply SOLID principles in order to improve the architecture of your own code – regardless of which object-oriented programming language you use.  You’ll learn how to look at code, identify problems, and how to improve the code by using SOLID principles.  To help you with this, the course also contains a quiz that is focused on refactoring code to conform to SOLID principles.

It’s a short course that you can work through in an hour, but it’s intended to equip you with skills that you can apply throughout a lifetime of programming!

Some Review Feedback

“The content is structured, step by step is laid out clearly and concisely, the code examples are definitely the icing on the cake as it takes the principles into real world examples which are very valuable.”

“Great course with easy to understand examples. Good for first time explanation and as a refresher”

“Firstly, the course focuses on a really important topic that most developers usually skip over, and secondly the course itself is really well thought through with the examples explaining exactly how code can be improved for readability, testing, and to ensure the code is easy to change later on.”

“The salient points were well covered, and the code examples are clear enough to illustrate and support each SOLID principle discussed. As a student, we’re able to understand and appreciate the benefit of applying SOLID principles, and writing better code.”

This course includes the option of a 30-day, no-questions-asked refund if you’re not happy with it.



In this lecture, we'll briefly discuss what this course is about, what SOLID principles are, and how you can benefit from applying them.

SOLID Principles

Single Responsibility Principle

In this lecture, we'll discuss the Single Responsibility Principle (SRP).

Open/Closed Principle

In this lecture, we'll discuss the Open/Closed Principle (OCP).

Liskov Substitution Principle

In this lecture, we'll discuss the Liskov Substition Principle (LSP).

Interface Segregation Principle

In this lecture, we'll discuss the Interface Segregation Principle (ISP).

Dependency Inversion Principle

In this lecture, we'll discuss the Dependency Inversion Principle (DIP).

Review: SOLID Principles

In this lecture, you can review the five SOLID principles at your own pace.

Quiz: SOLID Principles

A review of the SOLID principles and concepts that we've covered in this section.

Quiz - Refactoring

In this quiz, we'll look at how we can refactor code that violates SOLID Principles.


SOLID Principles in Practice

In this lecture, we'll have a look at the application of SOLID principles in a real-world project.

Quote/Reference List

This page contains a list of quotes and references used throughout the course.

Bonus Lecture: Discount Coupon

This lecture contains a discounted coupon for my course on Fluent API Design.

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.4 out of 5
248 Ratings

Detailed Rating

Stars 5
Stars 4
Stars 3
Stars 2
Stars 1
30-Day Money-Back Guarantee


1 hours on-demand video
4 articles
Full lifetime access
Access on mobile and TV
Certificate of Completion