Tips on Writing a Good Source Code

As a programmer sometimes we do not memperhatikaan already how many lines of programming code that we have made and imperceptibly lines of code that we make reaching a thousand or even millions of lines of code. But have you ever felt when making the program code without regard kerapiannya, it could be because you want to quickly finish the program or even a deadline to complete.

Program code that has been created to reflect the thinking of the programmer. There are times, when one day we meet with a case we've ever experienced before, we certainly reopen old code we've ever made in handling the case.

When read back the code that has been made before, if we can understand immediately what ever we must first create it? The answer of course every person is different way to resolve it. If the code you have created can be used to tidy it easier to recall the way we think in completing the program. Good habits when making a neat program code will affect the ease of this line of thought in the past.

Here are some things to consider in making the program code

Make the program code as simple and efficient as possible so that the process of compiling the code much faster.
We must be consistent in the writing program code such as naming variables, size, case sensitive so easy to remember
Add comments to the lines of programming code regarding these functions and how to use it, other than it easier for us to remember that we created function, it also can help our colleagues in digesting what we make in order to understand the program made faster.
Create a documentation and equipped tour guide.
Always updated, because sometimes there are ways of writing that will be reset by the developer of the programming language we use.
Here are some tools that can be utilized in helping us to tidy up the program code

CSS
www.cssportal.com
www.styleneat.com
tools.arantius.com/tabifier
www.dirtymarkup.com
HTML
www.fisip.net
tools.arantius.com/tabifier
www.dirtymarkup.com
PHP
phpcodecleaner.com
JS
www.dirtymarkup.com
jsbeautifier.org
CSS, HTML, Javascript, JSON, Perl, PHP, Python, Ruby, Sql, and XML
www.cleancss.com
There are many more tools that can be utilized for the programmer so do not rule out the possibility that other tools can also be used.

0 Response to "Tips on Writing a Good Source Code"

Posting Komentar