I learned how to program by myself-"3 times reading calligraphy"

Source: Internet
Author: User

I majored in Electronic Engineering. So far, the only programming language I used was C/C ++, assembly, and Matlab. Later, I took an occasional opportunity to start a "weekend startup" and began to become interested in software development and computer science, then I swear that I would enter this field with Infinite Charm without any means. However, I need to learn other programming languages to work with you on projects.

In the past one and a half years, I have learned Java (for Android development), Python, and JavaScript (& html/CSS) (for web development ). In this learning process, I have come up with a rule: if you want to integrate the programming knowledge in books and textbooks, you have to study it three times! Yes, you have not heard the error, it is three times! This "Three-byte calligraphy" is particularly effective in understanding new concepts of new languages. Out of the shared mentality of "Hello everyone is really good", I will elaborate on this method here, hoping to benefit you.

First read-through

The first time you read programming books, you only need to have a correct understanding of the full text. For the first reading, I will try my best to follow the author's ideas and look at their examples for demonstration. I also learned, learned, and learned how to build a program. Of course, it may not be comprehensive. When I first read through, I won't write any code, even though most programming books can understand it. After reading for the first time, I don't think I can immediately learn how to write code in a new language. However, this gives me a good sense of global understanding. (By the way, I usually only read one chapter or one section at a time, not the whole book ).

Second Study

This time, I will write code. I will take the example given in each chapter and try to use the code again. The reason why I need to read the code first and then go back and study it well is that this will not only let me know what each chapter is talking about, but also what the code can do. In this way, I can clearly understand and understand the cause and effect of the entire book. Not only is it better understood, but the code is no longer blindly swallowed up. Instead, it is expected to first understand its role in the following paragraphs, then, go back and study again. This step makes me remember the syntax.

Intensive reading for the third time

In the third time, I am no longer satisfied with the examples in the book. I will think differently and try to give examples to apply the Code. They will also read the exercises proposed in the book and try to solve these problems by themselves. At this stage, the syntax of each chapter is all in my heart. I am confident that all these questions will be answered.

I don't want to tell him anything ......

I learned Java, Python, and JavaScript step by step using this method. Another good way to learn programming languages is to build projects. If you want to know more about the user interfaces and graphics in Java, you may wish to create a PVP chess game, which forces you to learn about graphics, animations, and graphic user interfaces, and event-driven.

However, the difference between the two lies in that, even if you can complete a project (in a specific language) without the knowledge of irrigation, but the code I wrote is definitely not as concise, simple, accurate, and insightful as I read calligraphy three times. You cannot really master this programming language. I mean, if you are proficient in the C language, the Java language you write may end up with the C language style, and it is not as similar. Why? Because you don't really know Java, you just want to complete the project.

I suggest that if you want to learn a new programming language for beginners, it is best to learn it from books instead of just following the course. There are usually specific ideas in the book, which helps us to understand. If you have followed my advice and are reading a book, do not limit yourself to your work. In addition to the exercises in the book, you can also try your own projects. In addition, you must manually write the code yourself. Do not take it for granted that it is enough to read and understand the code. Remember that it is far from enough!

I am not a professional software developer, but this method does help me learn programming/development, so that I can unveil the secrets of the world and appreciate her elegance. If you have a better method, please leave a message, thank you :)

Source: Web developers

Search No.: ruixin, or scan the QR code below to check the Public Account of the blog:

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.