International: supported or opposed? Several minor improvements to Java SE 7

Source: Internet
Author: User

According to foreign media reports, project coin is a Java SE that is working on minor language changes.
7. The new title of openjdk. In java.net's latest online voting, I once asked what the project is.
What are the most interesting new features in coin. After analyzing the views of a large number of Java programmers on this issue, I will reveal the candidate results and causes raised by professionals.

Candidate results:

Support for strings transition status:
This is a great boon for Java developers who prefer strings most flexibly and flexibly. This feature can help them avoid the benefits of long if-then-Else.
Block. However, from my personal point of view, we think that since we are most looking for flexibility, the performance of strings will be far better than emuns, so there is no need to look for a Special conversion device. Therefore, I and
This feature is not highly praised.

Multi-exception capture mechanism:
Although it is convenient to capture multiple related exceptions at a time, this function is sometimes more helpful when it is between non-checking exceptions and capturing exceptions in the multi-layer structure of the Framework, therefore, I do not recommend this feature very much.

Square brackets of the Set:
This feature makes the collection like a series well-organized. However, some people argue that it is because the syntax of the set is more convenient and free that everyone prefers to use it. In this way, assimilation of it with the syntax of the series will only erase its original features. Therefore, I do not recommend this.

Constructor with type derivation:
This feature allows the compiler to understand generics through constructors Based on the instantiated object data type, without the need to define generics again. But many people think that this is a bad idea, because it means that the original Java language is wiped out. I personally don't mind, but it is not recommended.

Name calls in other languages:
This feature supports calling methods in non-Java languages and may not have significant advantages in the short term. However, in the long term, in this world of multi-language integration, this is definitely a great idea.

Summary:
Java itself is already a very mature programming language, so what we desire to improve is also very limited. In other words, I like all Java. (Translation/crys)

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.