Http://sunxiunan.com /? P = 1597
LearningProgramming LanguageOr the programming technology is basically like this process:
1. Evaluate the necessity of learning this language or technology. For example, you need to work, or interest, or even to treat your sister. This necessity is related to how long it takes for you to learn more deeply.
For example, if I want to learn Lua, I want to learn how it can be done in ten thousand lines.CodeIt implements such a sophisticated programming language, wants to learn its GC mechanism, how it designs VMS, how to design projects with pure C language, and so on.
2. Search for related resources. A better starting point is the official website of this technology and Wikipedia.
For example, the official website of Lua language is http://www.lua.org, Wikipedia address is http://en.wikipedia.org/wiki/Lua_%28programming_language%29
You can directly search for related Wikipedia entries by typing "Lua wiki" in Google.com. The advantage of using Wikipedia is that you can have a general understanding of the programming language. After reading it, you can have a few questions with others. In addition, Wikipedia has an interesting feature in programming language related entries: influenced by and influenced list. For example, the Lua entries indicate that they are affected by scheme, snobol, modula, Clu, and C ++, which affects languages such as Io, gamemonkey, squirrel, Falcon, Dao, and minid, it is interesting to know the ancestor and descendant of the language.
On the official website, there will be the freshest news, downloads, document help, forums and other related content.
3. After finding the official website, you will spend some time exploring it on the official website. For example, the about section on Lua's official website describes what Lua is, Why Lua is chosen, and who has compiled Lua code. The latest Lua news in the news section. The download section contains Software downloading and learning a language. It is important to study in practice. Most people use Windows to download the recommended Lua for Windows.
4. You have downloaded the software (LUA for Windows). After the installation is successful, you can see the document. There is a reference manual on the Lua documentation page. Most programming languages also download the installation package with a manual document (as far as I know, Ruby and Python ).
How to systematically learn a language? There is no good way to pass the manual. The content of the manual is relatively boring and difficult to read. In addition, the attention of online learning is not easy to concentrate, and it is easy to skip when you click it. The best way is to buy a reference book of entities. Amazon or Douban is used to buy a real book. You can determine the quality of this book based on Amazon's score and Douban's score. In addition, there are several books recommended on the document page of Lua, for a slightly biased language like Lua, the selection of books is actually very simple, because there are two or three books, I personally recommend programming in Lua, there is a domestic translation version, you can also download to the Chinese version of 5.0.
So for Java, DOTNET and other reference books such as WuYang Wuyang, how should I choose books? At this time, I will refer to the following factors: one is the option that the founder of the language can choose to write, the other is the option that olei oreilly can buy, and the other can refer to the function of Douban or Amazon book order, see what others recommend. The worst way is to look at the sales volume. Books with high sales volume may not be good, but it won't be wrong if you choose one. After I buy a book, I 'd better spend a few days reading it. I 'd like to mark the incomprehensible part and try to understand the whole language technology first, I have some impressions on some basic operations and commands.
5. You will need to read it carefully after reading it. Generally, every programming language strives to be relatively complete, so there must be something you may not be interested in or will not be able to use, these can be put aside and picked up when needed. It is best to prepare a small notebook during the process of reading it carefully. In addition, it is recommended to register an account on GitHub. GitHub has a gist.github.com page to save code snippets, which is useful for code exercises.
The process of reading carefully strives to fully understand, and the sample code in the book should also be knocked in and run as much as possible. In addition, some extensions can be made to the sample code, for example, add the code in chapter 4 to the Code in Chapter 5 to let them be combined to see how.
6. After a month or two, you will be able to improve your skills. When you carefully read the chapters you are interested in, it is best to use new languages to meet your programming needs, such as writing a web crawler or deleting a specific file in a directory within a period of time, or do text processing, you must use it frequently before you forget it. This process may take two or three months, so you can write it down without having to look up the manual for common code functions. In addition, you can intentionallyAlgorithmOr the application performs language translation and uses the new language to implement quick sorting and regular expressions. Programming is actually a skillful process.
At this time, you can try to purchase some advanced books to learn more about the content. The quality of the books is still searched on Amazon or Douban.
You can subscribe to related Blog content during the process of improvement. You can go to blogsearch.google.com to find a blog.ArticleOr search for technical blog sites such as csdn, javaeye, and cnblogs. If you see a good article, you can use delicious.com to save it and read it slowly.
7. What should I do if a problem occurs during this period? You can search for help in the following order:
A) books or manuals, online documents, online help, etc.
B) Search for related keywords on the Wiki or stackoverflow.com on the official website.
C) use Google to search for related keywords.
D) ask a question in stackoverflow, official email list, or official forum.
Generally it is better to subscribe to the Mail List of this language, such as Lua's mail list is the http://www.lua.org/lua-l.html even if you don't ask questions, look at other people's questions is also very interesting.
I do not recommend that you join any QQ Group for study. The instant messaging feature of QQ or MSN makes it not a good learning method. It is basically only suitable for fart chat.
After 8 to four or five months, the friends who have learned the previous steps are already at the intermediate level. It is unlikely that they will ask questions about mental retardation such as "kneeling and naked seeking. At this time, we can develop at a deeper level, for example, try to readSource code, Try to write related programming library Programming Plug-ins, help people answer questions in official forums, maillist, stackoverflow, try to write more about their own experience in this language, and share some related questions, etc, this is the path to the "Broken vanity.
Okay, that's it!