13 Apr 2017
The term “Clean Code” could be confusing for beginners. What does it mean? You clean the car, you clean your bedroom, how do you clean your code?
Lets start by thinking about almost the opposite of Clean, Messy. You can imagine a messy room, and I'm sure you can also imagine messy code. When I think about messy code, I think of lots of lines of code, poorly named variables, multiple classes in the same file and so on.
There are multiple benefits for writing clean code, here are some of the main ones:
Here are some of the main things you can do towards writing clean code:
There are some excellent resources on the internet to help you learn how to write clean code. Here are some of my favourites: