Writing Clean Code
What you'll learn
- Writing maintainable, readable code
- Writing clean code
- Learn best techniques for writing understandable code
- Learn to write smaller, reusable functions
- Learn the concepts of single responsibility principle
- Familiarity with Swift Language
- macOS Catalina or later
- Xcode 12 or later
- Passion for learning new principles
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.
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!
Who this course is for:
- Developers who wants to learn how to write clean code
- Developers who wants to take their skills to the next level
- Developers who are passionate to learn new techniques to improve their code
My name is Mohammad Azam and I have been programming in iOS for the last 10+ years. Currently, I am teaching Full Stack Development at DigitalCrafts. Before joining DigitalCrafts I worked as a lead mobile developer for many large companies including Schlumberger, Baker Hughes, AIG and Valic. Currently, I am a senior developer at Blinds Dot Com, a Home Depot company. Before iPhone development I was leading projects in Microsoft ASP technology. I was also awarded the Microsoft MVP award five years in a row due to my contributions in the community.
I have also published several of my personal apps to the App Store including Vegetable Tree which was featured by Apple as the most beautiful gardening app on the App Store. I am a frequent speaker at local and national conferences and have authored many articles for many different development magazines.