Ten things beginners must know about programming

Source: Internet
Author: User

This article is reproduced from the csdn forum, the original address: http://topic.csdn.net/u/20090608/17/526def98-1214-48c5-8f40-bbc9c3cf9a69.html? 94431

I have seen a lot of teachers write very well. I have summarized several things that I think are the best. I have added some of my own ideas for your reference. You are welcome to discuss them.

1. Do not try to use someCodeAutomatic Generation Tool. These tools will be used in future work, but you should not be good at learning, especially when you are confused. We recommend that you compileProgramInstead of MFC, VCL, etc. No one needs you to compile a large practical system.

2. Train your hands with software suitable for the workload. What is appropriate workload? For example, the workload of a program such as Tetris is appropriate. What? Tetris is too old, So first you have to make sure that you will compile the old things to ensure that all the code is typed in by yourself. Secondly, you can design some similar mini-game software, which will train your data structure andAlgorithmDo not think that programming in DOS is no longer practical! Otherwise, you can design the Win32 SDK.

3. The essence of the problem should be considered during programming. For example, compiling game programs such as Tetris, the key point is skilled data structures and algorithms, rather than image interfaces. For example, writing a book management system and Student Status Score Management System, the key point is to learn database design and operations, rather than simply using eclipse and other tools.

4. There is a need for research and design processes to write programs. Everything should be done before it is done. This is also true for writing programs and software. If you do not write a program, you can write the program if you have any thoughts in your mind. It's a pleasure to write it and it's also very moist. But the consequence is endless testing and modification. A small mistake is about to be found. After it is found out, the program is changed to a mess, and the program is no longer an embodiment of elegant thoughts. It is more like a mixture of chaotic thinking.

5. Notes! Note! Note! Some people have an extremely bad habit of writing programs and never writing comments. Dude, you should write for yourself if you don't write for others. If you don't believe it, come up with over 100 lines of unannotated code you provided a year ago ,~~~~~ Dizzy, especially languages with a majority of processes like C/C ++. Write comments more frequently.

6. The program format should be standardized. Since the beginning of programming, I have always attached great importance to this aspect, including naming and format specifications. Standardized programs look so beautiful and comfortable, especially the example programs in thinking in Java, amazed at the author's seriousness and beautiful code. This is the same as the annotation, not so much for others, but for yourself. The indent must be indented. There is also the naming problem. Some people like int 1, J, A, and B Since learning programming. They can still use these simple identifiers at the beginning, but when you compile a program like a model, you have to think about it. It is better to have a longer identifier than to use meaningless characters.

7. take exams and certifications correctly. Many people take computer level 4, soft exams, and various certifications, and take these exams as their learning objectives, hoping to find a good job with a certificate. However, in addition to Cisco's ccna, ccnp, and CCIE certifications that have been supported by commercial factors and cost thousands or tens of thousands of dollars, there is no certificate in China that can have immediate results., in addition, if you apply for a network management job and have Cisco certification, you will be competitive. All these certifications are useless. What employers need is real capabilities, not the paper. Isn't it necessary to take an exam? People are lazy in nature. They can learn with motivation only when there is an exam. Remember, certification is only a step, but a process, not an end point and a final goal.

8. Learn to communicate effectively. Maybe you are a genius and can learn everything by yourself. Otherwise, it is better to ask more questions. The so-called three steps must have our teacher. Everyone's program may have a bright spot. Learn the strengths and advantages of others as much as possible with the permission of others. If you have a pair of legs, think that Lao Tzu is the first in the world. Then you may be the first in the world, and the first in the world. I talked with my colleagues and classmates and went to the Forum. In this way, both parties learned each other's knowledge and exchanged feelings. Why not?

9. online learning to find the right place, recommend a Website: csdn student base camp (http://student.csdn.net/), a connection cainiao and master of the website, there are hundreds of online tutoring instructors from the industry and training fields, as well as video resource downloads and online testing questions. No one despise you here. The most important thing is that you have a good learning atmosphere and many teachers.

10. The last and most difficult thing is persistence. Persistence is the easiest because everyone can do it. Persistence is the most difficult. After all, few people can stick to it. The person who persists is the person who succeeds. "The easier it is to get something, the less valuable it is." This is a law of value that will never change. The more powerful the martial arts, the more difficult it is to practice, the longer it takes. Many people leave the game halfway.

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.