Creating an IT project that includes some form of source code will inevitably lead you to a point where you will have to face up to Code Formatting.
As the amount of code in a project increases, the likelihood of error also increases and formatting your code is just one of the many tools a programmer should employ in order to minimize the possibility of error. There are four major components to Code Formatting that you should know about, all of which are explained in this tutorial.
I’ve tried to address each of the components in a generic enough manner such that the ideas will hold true regardless of what language you happen to be programming in. So with this in mind, let’s have a look at what Code Formatting is all about, starting with Indenting.