Senin, 25 Juni 2012

How to Become a Good Programmer

I am often asked about how to become a good programmer. The best way to assess whether a good programmer or not is to check the code he wrote, because the coding is the most important for a programmer. Even if we do not try to understand the intent of the code, just by looking at it we can see if the programmer is good or not. So, how to be a good programmer? You should make every effort to write clean code, standard, and even elegant.

Standardization
A good programmer does not just write clean code and standards, but they try hard to get the code looks good. For example, empty the contents and well-spaced, and the record is clear and well placed. Also, a good programmer should be strictly in accordance with standard naming and layout.

Consistency
Keep checking the code, you will be sure about whether or not a good programmer. When you look at code written by a good programmer, there is consistency of well-crafted. A good programmer can follow the standard or normal naming method, such as CamelCase, while the poor programmer will always deviate from the standard naming.

Spelling errors
If you are a programmer, should have very few spelling errors. Poor programmers often produce more spelling errors in their code. They always use one word for this kind of action remains the same, for example, add / insert, add them to either use or use on the entire coding insert. They will never mix the use of add and enter.

Abbreviation
Programmers should use abbreviations in a coherent manner. If they want to use abbreviations, they will use throughout the coding in order to stay consistent and stick. When the poor programmer to do the coding, they sometimes use the abbreviation, sometimes not. A good programmer will notice an adjective and a noun in the name, because in English the adjective is always in the former, while the poor programmer has no rules, it is sometimes put in the adjectives used and sometimes in both.

Repetitive code
bad programmers often write large chunks of code over and over, but a good software developers rarely have such problems. Difficult for a poor software developers to extract the integrated concept of re-code to be reused. A good software developer will pay attention to the records and consistency of code to an external API. A poor programmer is often inconsistent parameter names and definitions of the functions in the records of their code.

Junk Code
A good programmer is rarely leaves garbage code. They are competent in assessing whether a piece of code is not useful or not. If this is a useful piece of code, they will keep it. If not useful, they will throw it away. poor programmers often do not believe what a piece of code is really useful or not. Also, they do not have the habit of keeping the code clean, so they keep the garbage code.

You can see from what I have said above, even if you do not understand the technical language of the programmer to use, you can also judge whether he is a good programmer or not just by examining their written code. How to become a good programmer? You should make every effort to keep your code clean, concise and attach. That is what we call "beautiful coding"

Leave a Reply

 
 

Followers