How to learn a new programming language?

Source: Internet
Author: User
Tags knowledge base ruby on rails

How to learn a new programming language?

The answer is: deliberate practice in the study area, 500 rows per day. What is the learning area, that is, you just have enough, but still need to pay a little effort.

1. How to find a learning Area 1.1 classic Tutorials

General a new language books, in the watercress ranking compared to the front, the word of mouth are very good, pick a lesson after the practice on the line, give up the kind although written very well, but do not carry the purpose of the exercise, the kind of book as an alternative to it. Ruby community, I often recommend this book by the president of the Ruby Society of Japan: "Ruby Programming" after class exercises.

1.2 Stupid Method Series

Ruby and Python's Geek, Zed Shaw, has introduced a series of tutorials on the stupid method of learning programming. There is already a ruby\python\c series in it. Zed Shaw opens up the methodology and materials, and you can change it to the version you want to learn, such as Java, Arduino, etc.

Website: http://learncodethehardway.org/

Ruby Chinese version

Python Chinese version

1.3 Community Hero Design Practice Topics

Any community, there are some heroes, willing to inherit their knowledge system, therefore, designed a lot of practice topics. For example, the following materials in the Ruby community are suitable for beginners.

http://rubykoans.com/

http://kidsruby.com/

http://rubymonk.com/

1.4 More popular Programmers quiz community

Personal Comparison recommendation: http://stackoverflow.com/

can go here to answer other people's questions, if the time is limited, you can first download StackOverflow top problem ebook

Don't hurry to see the best answer, try to write the answer yourself. Then compare it with the best answer.

2. Auxiliary tools for deliberate practice in the learning area

Beginner programming, the most should remember is in the study area deliberately a lot of practice, seldom read books, to practice more. When I inherited the bad habits from the management consulting industry, I looked at a lot of information before entering a field, not suitable for learning programming.

There are some important tools to practice when you are deliberately practicing.

Bundle of 2.1 TextMate

Temporarily missing friends under Windows, bundles allow you to quickly master the core syntax of a language and freely expand your own knowledge base.

2.2 Cheatsheets

Cheatsheets is similar to a small copy of the exam, the essence of a need to learn to organize on a page or a few pages of paper.

http://cheat-sheets.org/, find the ruby cheatsheets inside or the small copy of your own language, have multiple versions, find a version that works best for you, and then download and print it out. A piece of paper contains the core content.

Cheatsheets, there are many more here: http://refcardz.dzone.com/

2.3 Flashcard

Flashcard is a way of learning, first presenting the topic, then meditating on the answer and then looking at the answer.

The learning-related flashcards will be downloaded on the phone or printed out, and then waiting for the idle time, to meditate.

For example: http://www.yoyobrain.com/cardboxes/103

and a special app for Ruby on Rails

There is a lot of community about flash card on the Internet. You can deliberately search for the language you are learning.

3. How to improve the Action force: the effective hack of human action psychology

Why people procrastinate, why people act poorly. In recent years, Psychology has made breakthrough research results. When the average person is thinking about the goal, it uses the goal intent, which is:

What am I going to do ....

However, a genius psychologist Peter Gollwitzer found that the goal of such a paradigm of thinking, but it is difficult to achieve the goal, so he used his subjects, an alternative paradigm. Force the experimental object, using a thought paradigm called: Execution intent. The results are surprising, and people are more likely to overcome procrastination and achieve goals.

What is execution intent? is to use if...then ... Paradigm of thinking. For example, don't say that, I want to learn Ruby. It's just that if I'm going to learn Ruby, I'll install the environment tonight.

When you think about actions and goals for so long, and eventually build an automated mechanism, then the power of action slowly becomes stronger. If... So... Become a part of life. I'm going to... This type of sentence has died from his own language system.

4. Programming is always a personal act

Just start, don't:

    • Busy socializing.
    • Bubble all kinds of forums, send boring posts
    • Download a variety of pirated e-books (You pay the money you will be particularly distressed)
    • Dispute which language is better

Everyone's world is so different, not controversial, using it to do some work, or to give their own girlfriend, or to earn some extra money. Slowly, I grew up:)

Reprint Source: >

How to learn a new programming language?

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.