A novice programmer must have ten skills and a programmer must have ten skills

Source: Internet
Author: User
Tags how to use git

A novice programmer must have ten skills and a programmer must have ten skills

1. Version Control System (VCS)
VCS may be the biggest omission in computer courses. These courses teach you how to write code, but often forget to teach students how to manage code. Every programmer should understand how to use Git or Subversion to effectively create a repository (repository), edit and submit code, branch and merge, and understand the project workflow.
2. Learn to write
As a programmer, not only code is required. You also need to write a release description for the project, write a message for version control, and write a vulnerability report in the system. These and many places require clear and effective text communication-but this skill is rarely emphasized in computer science.
3. Regular Expression
Regular Expressions are a language, and every modern programmer must be good at them. Every modern language supports regular expressions or a standard library. If the code needs to verify that a string contains 5 characters, 1 break, and 1 number, you should be able to write/^ [A-Z] {5}-\ d $/immediately /.
4. database usage
Now it is 2014, so no one needs to use a regular expression to extract the host name from the URL. Because every modern programming language has a standard library for executing common functions.
Programmers need to understand that the Code that has been developed, tested, and debugged is generally better than the code that they re-write. More importantly, code implementation without writing is much faster.
5. SQL
Many people learn SQL at work. How can databases be electives? Are there any databases not used?
The era of storing data into flat files is over. Everything needs to go into and out of the database, while SQL is the language for accessing data. This is a descriptive language, not a programming language. Therefore, a new way of thinking is required when you use it to solve the problem. Every programmer should understand the database standardization basics and be able to execute SELECT (and INNER, outer join), INSERT, UPDATE, and DELETE.
6. IDE, editor, and CLI tools are used.
A carpenter who only knows how to use a saw blade can never start a job. Therefore, those who graduated from computer science only know Notepad or pico. Programming tools help manipulate code and other data, making it easy for programmers to live. Therefore, every programmer should know how to use command lines, shell scripts, find, grep, and sed.
7. debugging
Every programmer should know how to debug the program by using an interactive debugger or adding some output statements to the code. The ability to track problems through gradual refinement is too important.
8. Error-proof Programming
Errors are always inevitable, and even star programmers are no exception. Getting out of control is the norm of the world, and it is not surprising to make mistakes. Error-proof programming understands this fact. If there is no error, we will not check whether the file is successfully opened or not, whether the customer ID is a legal number, and do not test whether the Code allows correctness.
Programmers need to know that compiler warnings are useful tools that make our lives more comfortable, rather than avoiding troubles. Every programmer should know why every PHP program starts with this:
1 set_error_reporting (E_ALL)
Each Perl program must write these statements:
1 use strict; use warnings;
9. team collaboration
Very little programming work will be done by yourself. If you do this often, your intelligence will be impaired and your performance will become weaker. Your code must interact or mix with others. Talented programmers who cannot collaborate with others will have a negative impact on the project and quickly become a burden on the Organization.
10. Use existing code
At school, every assignment is a new project. But this is not the case in the real world. For new employees, the first task is to modify the code vulnerability. Then, a small function is added to the existing system based on the existing code library. Designing new code is a few months later, if Lucky.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.