Programming language Thinking

Source: Internet
Author: User

1. Why do I need a programming language?

"God gives man the ability to speak, and speech creates thought, and thought history of man's Measure of the universe." ”

With the programming language, we can really "talk" to the computer, and the computer will be able to talk to other people, so that "human-computer-human" is connected.

2, C language, C + +, Java What is the difference?

C language has the advantage of the bottom layer, so in the embedded development and other involved in the underlying hardware applications widely used. Through the C language pointer, you can directly manipulate a register, the value of a memory area. However, there are some difficult places in C language, such as renaming problems, a program that is more than 1w, a variable name, and the name of the function names will become particularly serious. The other is that when the modern code is large, the use of C will reduce the readability of the code, because the encapsulation is not thorough enough. There is also a problem where the code is not highly reusable.

C + + is an object-oriented programming language, compared to the C language, C + + has a lot of new features, such as classes and objects, namespaces, constructors and destructors, function overloading, operator overloading, virtual functions, inheritance, and so on, these features make C + + for the development of some large programs, the operability is greatly enhanced, Each class completes independent functions, making it easier to work with each other. C + + in order to maintain compatibility with C, retaining the majority of C features, which makes C + + functionality is only more powerful than the C language.

Java is a C + +-based language whose purpose is not to create a new OOP language, but to make C + + easier to use. While running more efficiently than C + +, the development cycle can be much shorter than C + +. This company saves valuable human and time costs. Java is constantly updated and improved, it makes multithreading and network programming directly as a part of the language, in the form of libraries contained in the language, making the development of network applications more quickly and easily. In the current hardware surplus situation, Java this language has its unique advantage.

Programming language Thinking

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.