In this course, you will learn how to write Clean Code. Clean code refers to the code that is easy to understand and maintain in the long term. This course is language independent, which means you can use any programming language to follow along.
Writing Clean Code
In this course, you will learn how to write Clean Code. Clean code refers to the code that is easy to understand and…
Let’s take a look at the contents of the course.
In this section you are going to learn how to name your variables, functions, classes etc. This is one of the most important sections of the course and it sets the tone for the whole course.
In this section, you will learn how to write reusable functions. You will also learn how to write smaller functions which do only a single job, following the single responsibility principles.
In this section, you will write how to write good comments and how to avoid bad comments. I am going to show you when you should write comments and when you can remove comments and let your code speak for itself.
Objects and Data Structures
In this section, you will learn multiple ways of writing the same code. First you will implement the code using Object Oriented Principles and then you will implement the same solution using Data Structures.
In this section, you will learn how to handle errors in your application. You will also learn when it is suitable to return nulls from a function and when it is not.
In this section, you will learn how to write tests for your application. Unit tests allow you to better architect your app and by using test driven development principles you will end up with better and cleaner code.
In this section, you will learn how to implement Classes in your application. You will learn how to name your classes and how to make sure your classes are small and bounded by context.
This is a great course and after finishing this course, you will be able to write cleaner and more maintainable code.
Let’s get started!