Will closures make Java less verbose?
March 29,200 8
If you haven't read it, here is the link to his article. In his opinion, Java is too much pursuing "every object is everywhere", making it concise and clear enough to express its thoughts. He cleverly used the "for want of a nail" in Ben Franklin's poems to Java and better convey his meaning.
My question is, if the closure allows you to use more verbs and less nouns (according to the yegge idea), will programmers create programs that are easier to read? Or will the more than a decade of deep-rooted culture drive any attempts to solve this problem? That is, no matter how many additional language features there are, Will Java programs continue to keep it as it is?
If you haven't figured it out, how to fix it later will not be able to recover the decisions made by Gosling and others earlier (that is, it is much more important to make Java "into the market" than to try to add generics and closures to make it more like a language).
This is the decisive factor in any software system architecture and the core decision that affects everything in the system. You have some questions.RequiredMake the right decisions, and other problems can be solved later through strategic ideas. These decisions must be made by experienced architects who know what they are doing and raise many questions, but this is exactly what they are responsible.
Java 3 K
In2008YearAt the last technical meeting of the Java informal seminar (Java posse Roundup '08), we once again discussed the future of Java. We come to the conclusion that backward compatibility was initially reserved for some companies, but these companies will not upgrade to the latest Java version in any case.
The most successful languages have been easily transformed from existing languages, so the programmer's knowledge will not depreciate. C ++ is so successful because it allows c programmers to easily transition. Java is also successful because it can transition from C ++.
Should a "Java 3 K" be published? (learn Python 3000. Guido van rosum is named for the backward compatible fix version of Python. It will be released later this year )? A new version of Java that is still running on JVM and similar to the old version of Java is not subject to any backward compatibility issues, therefore, it implements true generics, closures, and removing primitives. If a company doesn't want to invest in the embrace of Java 3 K-such a company is often not upgraded to Java 5-then it will continue to use the existing things. But programmers who have been plagued by old Java problems and bad old decisions can easily move to Java 3 K. They only need a short learning curve, it has no influence on productivity.
What do you think?
(Original link URL: http://www.artima.com/weblogs/viewpost.jsp? Thread = 227728)