Indent your code

Development Tips

It doesn't matter so much which code indentation rules you use but use them faithfully.


Date : 2006-06-23
Code indentation, sometimes called code beautification, is often overlooked as unecessary but taking the time to write good looking code can save many hours during the lifetime of a project. Debugging code that has been properly formatted takes a fraction of the time of dealing with messy code.

Different language structures lend themselves to various methods of code formatting. Just pick a method that works good for you, or research a method that is recommended for your preferred language.

Recommended reading: http://www.bestcodingpractices.com/source_code_formatting-5.html

Not only will good looking code make it easier for you to manage your own code it will also make your code seem more professional and thus more trustworthy.

So pick a method and stick to it, your code will be better for it.

Comments :

No comments yet
  • Search For Articles