How to learn a programming language? A few suggestions for programming beginners

Source: Internet
Author: User
Tags ruby on rails

How to learn a programming language? Some tips for beginners in PHP:

Programming is like any new technology, and it's hard to know where to start. Here are some steps for beginners in programming languages: Start with "Drag and drop" programming, Python as a starter language, JavaScript is one of the most useful languages, try Ruby and Ruby on Rails, and familiarize yourself with HTML.

In the United States, computer science is a booming industry, and its pay is excellent. The need for top-notch, talented engineers has never been interrupted, which is why learning code seems like an attractive option.

But as with any new technology, it's hard to know where to start. Here are some of the steps you should take at an early stage, suitable for beginners in programming languages.

Start with "Drag and drop" programming

Drag-and-drop programming is a basic technique that allows you to create code by dragging blocks or other visual cues, rather than writing text-based code manually.

"This allows you to easily understand the basics of programming without careful study of character placement," said Code.org, founder of Hadi Partovi, a Web site that offers online programming courses. Once you've learned the basics of using drag and drop, you'll immediately want to learn how to use it to do the real thing. ”

There are a number of programs that can help you get started with drag-and-drop programming, including MIT Scratch, Code.org Code Studio, and Google blocky.

Python as a beginner's language

As Partovi says, Python is a simple language for beginners. Because there is little emphasis on grammar, Python is a language that represents the idea of simplicity. Reading a good Python program feels like reading English. It allows you to focus on solving problems rather than figuring out the language itself.

JavaScript is one of the most useful languages

JavaScript is not as simple as python, but it can run on every platform: Mac, Windows, iOS, Android, and more. Every single web browser, even a new device like smartwatch, uses JavaScript on some features.

After JavaScript, try Ruby and Ruby on Rails

Ruby on Rails is a framework that makes it easy for you to develop, deploy, and maintain Web applications. While Ruby and Ruby on Rails have similar names, they are actually very different. Ruby is a scripting language, just like Python, but Ruby on Rails is a Web application framework. In other words, Ruby is a language, and Ruby on Rails is a tool that makes it easy to build websites in the Ruby language.

What makes Ruby and Ruby on Rails so appealing? Ruby on Rails uses real-time mapping techniques and meta-programming techniques, eliminating the hassle of developers writing a lot of boilerplate code during development. In the few cases where boilerplate code is needed, developers can create them in real time using Ruby on Rails built-in builder scripts, rather than manually. This feature of Ruby on rails allows developers to focus on the logical structure of the system without having to bother with trivial details.

Familiarity with HTML

Although HTML is not a programming language compared to Python and Ruby, you still need it to build a website. HTML is a hyper-text markup language. The image point says that HTML is only a higher-level description than normal text, it just makes text, pictures and so more descriptive.

Conclusion

C is suitable for fast and small programs, but does not support object-oriented programming; C + + fully supports object-oriented, but is very complex; Visual Basic and Delphi are easy to learn, but not portable and patented; Java has a lot of neat features, but it's slow, and so on.

When you can not start to try the above steps, in the course of learning to adjust their own methods, so that the "beginning" is no longer so difficult. But in any case, hard work and perseverance are the most important.

Free to receive the lamp brother even original PHP video tutorial CD/"Detailed PHP" Essentials Edition, details of the website customer service:

Http://www.lampbrother.net

How to learn a programming language? A few suggestions for programming beginners

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.