Home >Backend Development >PHP Tutorial >How to learn programming

How to learn programming

PHPz
PHPzOriginal
2016-07-25 08:50:00908browse

First of all, I want to talk about my thoughts on learning. Learning programming actually has a similar effect to online games. At the beginning, you will be very interested in those codes, functions, etc., especially if you are new to programming. People who have just learned the first language. However, when you go deeper step by step, you will find that you no longer have the fighting spirit you had before. It is as if you are playing the Korean Kimchi online game. After playing to a certain level, You practice leveling every day, and it is all your willpower to reach a high level that supports you. Learning programming is even more difficult. After two months of learning, you always feel as if you have learned everything, but you still feel that you have learned everything. You can't do anything, and you have no other willpower to support you. At this time, you will easily give up, or switch to other industries such as Internet production, PS, FLASH and other industries. In fact, let me tell you, although you feel like You have learned a lot, but in fact you still haven’t learned anything. When you cross this hurdle, you will just get started. I just want to tell you that you will encounter many difficulties in learning programming. You have to Only by working hard to overcome these difficulties can you really learn something. Otherwise, you will never want to learn programming and change careers as soon as possible. Next, I will help you plan a programming path.
There are very few people who have never learned C Language. I recommend C language as the first language you learn. Although some people say that you should learn VB first, this concept is actually wrong. C is indeed boring than VB, and to be honest, you won’t learn it after learning C. It's like I haven't learned anything else, and I feel like I haven't learned anything. However, for beginners, only C language can establish your understanding of programming concepts. VB is not programming, VB is just a tool. C The language is indeed an out-and-out language, a language that really lets you know what programming is. Some people who are new to C language and use the TC2 compiler always say that they can’t do anything after learning C. They can’t write any software. I You can tell him that programming is programming, not software. Software is a component of the program. If you want to program software, you can easily master it in the future. What you need to learn now is programming. Make it clear. One point, what you need to learn now is algorithms. The soul of programming is algorithms, everyone must remember this.
Beginners may need a set of video tutorials to help them get started faster, so I recommend you to go to Baidu Search for "C language video tutorial", and the first record on the first page is this tutorial. And it's with Teacher Tan
Note: Some people say that Tan Haoqiang's book is not good and too rigid. Then I can only say that you are at best a A person who is full of money is a person who is wandering around with half a bottle. When you really want to master advanced technology, you will find that you can't master it.
What do you need to learn in C language to be considered a master? In fact, C language has not been learned from the beginning. Some people have studied all their lives and are still studying. So when should you learn the next one? In terms of time, I recommend that if you have 6 hours of study time every day, you can switch to it after a month and a half. It’s time to learn the next language... (I estimate that ordinary people have mastered everything they should master in this month and a half)
So, what are you going to learn next? Are there still people talking about VB? .It is also called to deepen the impression of programming software. This is very naive. After learning C language, why should you learn VB? In fact, VB is indeed very powerful, easy to get started, but not easy to master. The famous DOS The system is written in BASIC language. However, such easy-to-use software is a bad thing for professional programming people. It will make people dependent and inert. The functions of VB controls are really It is so powerful that you can write it without even thinking. However, after all, controls cannot be controlled as you wish. Controls are dead things. What you really need to learn is the idea of ​​writing, which is functions (in Java method). In addition, it is better to learn Delphi than to learn VB.
Note: You can usually tell at a glance what language it is programmed in, but software written in VB is almost impossible to find.
So , there are only two options to learn next, C++/Java. I recommend learning Java first.
Java is actually modified from C++. The pointer part of C++ is removed, making C++ safer. At the same time It is also slightly simpler than C++. You need to find some introductions about Java, and read the following.
There are many books on Java. Don’t buy examples for beginners, buy the ones that always talk about the basics, published by Tsinghua University The book is very good. I also recommend video tutorials, Teacher Sun Xin’s Java is Easy. Go to 52ebook and directly search for the name "Java is Easy". There are 12 CDs in total. Just download them. The first lesson of the tutorial will teach you how to do it. Configuration, where to download the compiler, etc.
When do you need to learn it? This is what I recommend. You can learn it without reading any information (of course you can check the JAVA help documentation) and skillfully write a hotel management system. .Next, you can learn something else.
This other thing is C++. Again, Java programmers can easily master C++. As long as they learn the basic syntax of C++, the rest is practice.
Before this, I suggest you take a few exams.
Take the China Computer Software Professional Qualification Level Examination and directly take the intermediate software engineer exam. Or learn something else and take the network engineer exam. If you want , you can study more and pass all the things from Level 1 to Level 3 of the National Computer Rank Examination. Haha.
At this level, I think I really don’t need to say anymore, you have to test it yourself.
Finally, remember two sentences.
The soul of programming is algorithm + data structure!
The most important thing is to learn programming practice well!
Receive LAMP Brothers original PHP tutorial CD/"Essential PHP in detail" free of charge. For details, please contact the official website customer service: http://www.lampbrother .net
PHPCMSSecondary development http://yun.itxdl.cn/online/phpcms/index.php?u=5
WeChat development http:// /yun.itxdl.cn/online/weixin/index.php?u=5
Mobile Internet server-side development http://yun.itxdl.cn/online/server/index.php?u =5
JavascriptCourse http://yun.itxdl.cn/online/js/index.php?u=5
CTOTraining Camp  ​ ​ http: //yun.itxdl.cn/online/cto/index.php?u=5



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn