Programming language The Java and C of the spit slot

Source: Internet
Author: User

Contain all kinds of prejudice and arbitrariness, please read carefully.

Why do you study in the school C, get the enterprise production does not work?

And why do enterprise-class programmers still have no control over C + +? In all aspects of the algorithm is not superb?

The root cause is still different from the scenario. Enterprise-level development, mainly to be able to quickly caller, to quickly transform business requirements into executable code, immediately deployed to start the work. This requires a heavy machine gun like Java. Here, the focus is on being able to quickly transform a complex business model into the "expressive power" of the code.

And the problem solved by C + +, in fact, is the bottom layer, that is, for the above "fast build" and "customer demand conversion ability", provide the support of the underlying library. Therefore, its perspective and scope, is not to care about how to express the customer's business needs, it is not good at describing the business requirements relationship.

What it really excels at is the expression of the computer's running relationship! So at this level, all aspects of your algorithm begin to come into play. Because at this level, your optimization, the efficiency of the algorithm, are closely related to how the computer works. For example, how your code is loaded into memory, how the instruction set is invoked within the CPU, and what processes are going through memory allocation, all of which are related to the efficiency you want to pursue.

On the other hand, the high-level language and the underlying language are combined: The upper Java is really good at describing business model, but without the support of the underlying library, its expression is tantamount to dead letter.

The lower level of the library, if there is no upper level of the grammar sugar and the abstraction of high level, it has to be confined to the computer endless operating details, can never jump out, for economic production, for the liberation of productive forces, the development of practical use of productivity services.

So, back to the original question, why did your school study c those in enterprise-grade production that doesn't work? Because its scope is to solve the problem of the bottom of the computer. And the high-level programmer of enterprise application, he is good at the fact is the real customer demand quickly and accurately, convert to work code, and can control large-scale code amount, this is his core competitiveness. But he has little concern for the bottom line, and seldom cares about how to work with computers mechanically.

Based on this, many people's evaluation of the language is extremely unfair.

Some people say that Java is really simple, stupid language, no meaning. But this is completely wrong. The key point, easy to learn, is the ability to express customer needs quickly a premise. and the essence of it? The essence is to see how you can use this tool to accurately articulate the actual business model on the one hand, and to see how you can use this tool to intelligently organize the modules so that they can be scalable and reusable to meet the challenges of fast-changing requirements.

Other people say that C is too insecure, unable to do a good job, unable to do precise generics, and not be able to do beautiful inheritance. However, the application of C is the bottom level ah. The object-oriented concept mentioned here is actually the operational thinking mode of the real world, but this is not a computer-mechanical way of thinking. Mechanical thinking mode, is the assembly, is the statement jump, is the memory allocation. In this system, the focus is to make tools for the higher level and to create tools for the object-oriented thinking concepts you envision.

This is like, you get a piece of log, you have to complain, it does not grow into a disk shape, why not grow into a square, why not grow into the shape of nut, this can not be used well?! This TM is not nonsense! Your job is not to work on these natural logs and make them into tools that can be used in other production processes.

Recent Review

"Subtraction, cognition, core"
The rethinking of a difficult debug
Introduction to the Java EE | The doubt of the article

If you like my article or share, please long press the QR code below to follow my public number, thank you!

More information exchange and opinion sharing, can join the Knowledge Planet:

Programming language The Java and C of the spit slot

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.