[Reprint] a good way to read programming books

Source: Internet
Author: User
ArticleDirectory
    • Read the first time
    • Read the second time
    • Read the third time

Link: http://www.aqee.net/how-i-read-programming-books/

I graduated from electronic engineering. I must use this major.Programming LanguageOnly C/C ++, Assembler and Matlab are supported. After attending a Startup Weekend, I began to be interested in software development and computer programming. I decided to give it a try and enter the field. I found that to do some programming projects, you need to learn some completely different programming languages.

Over the past year and a half, I have learned Java (for Android development), Python and JavaScript (& html/CSS) (for web development, the best way to learn programming from books and textbooks is to read them three times !! Learning new content in this way can help you better understand new languages/new concepts. I believe that this method can help you learn from books to the maximum extent-no matter what books you read.

Read the first time

My first reading of programming books only gave me a rough understanding. In the first time, I tried to follow the author's ideas and let him use examples to guide me forward. I learned the syntax of the programming language, but not completely, I try to understandProgramHow it works.During the first readingCode. I think I have programming experience before and can keep up with the author's ideas when reading any programming book. I don't expect to be able to program in this language after the first reading, so I can apply this new knowledge to the project. What I get is a good feeling for the content in this book. (By the way, I usually read only one chapter or one section at a time, not one book ).

Read the second time

In the second time, I started to write code. I usually beat the examples in each section. Why should I read the book first and then come back and try again? In this way, I know what this section describes. I can first know what this code can do or cannot do anything. I have a global feeling, instead of blindly coding, waiting for the next chapter to be told the answer, so I need to come back and re-read this section.Coding helps me remember the syntax when I understand it..

Read the third time

In the third reading, I tried to write examples in books and exercises in chapters without reference code. I will jump directly to the corresponding chapter or exercise section. At this stage, I can remember the syntax involved in these chapters. I can solve the exercises or problems in these chapters.

That's it...

This is how I learned Java, Python, and JavaScript. Another good way to learn new languages or new concepts is to do some personal projects. If you want to learn more about GUI and images in Java, try to develop a chess game, which will urge you to read some graphics, animations, and interfaces, even driver books.

If you do not read the relevant information in this language when you are working on a personal project, you cannot use the best practice solution when implementing this project, you are just trying to complete the job. You cannot know how to use it.This languageProgramming, especially when you were not using this language before. You may write c-language code in Java, because you have not learned how to implement this task in Java. You are familiar with the C language, and you just implemented this function using Java syntax.

I think that as a beginner, you should learn from books first.Instead of looking for training courses or others. You can get basic concepts from books. But after reading a book, do not limit yourself to some exercises provided in the book, and try to do some of your own software projects. Be sure to write the code in the book,Don't think it is enough to understand and understand the code!

I am not a programmer, but I have learned a lot by studying programming and development in this way. Let me know what different opinions you have on my method. Please leave a message.

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.