Keeping source code well-formatted and clan is de facto good practice for every developer.
However, many of developers do not keep own code clean and clear. If you have ever worked on a big project or had to support source code of somebody else, you find very often some code chunks that have don't have the best smell.
You may be responsible for creating a few such lines yourself, because “you had deadlines and did not have time for things like code formatting”. A couple of other typical thoughts: "I will make the code clean later...", "this is not an important part of code and nobody will change it in the future...", "why should I spend time on this when I can do real work?".
Familiar phrases, aren't they? I've heard them a lot of times. On one hand, developers know that it is important to keep code clean, and on the other hand, they always have something more important to do instead. Let’s take a closer look at this problem.