Recently, C # and Java who is better for a better debate, I also talk about my own feelings. In fact, simply speaking, C # should have more superiority than Java. Why should it be? The reasons are as follows: 1) C # As a language, it is five years later than Java language (almost). If you look at "History Total Progress", C # should be better. This theory does not always be established in the IT world, but considering Microsoft's development strength and economic strength, it is estimated that there will be no big differences. 2) C # is not generated, any language is not. C draws the strength of C, Java has absorbed the advantages of C , and history is this progress. And look at the grammar of C #, which is simply java. In other words, Microsoft will definitely draw a lot of Java's advantages, and do it.
Further optimization, give up some shortcomings. According to an example: a simple string operation:
// java string s1 = "aaaaaaaa"; string s2 = new string (S1); // This is correct, but S2 and S1 are the same string, or a copy? This is a syntax that is easy to cause misunderstandings.
// c # string s1 = "aaaaa"; string s2 = new string (S1); // The compiler notifies the error, and it is recommended to use a method similar to Clone. // c # avoid this problem
In addition, there are still many we can think that C # is due to Java.
What is mentioned above is simply in a language, but a language can be successful, how much can be successful, and not only dependent on this language itself. In the history of programming languages, there have been several hundred programming languages, including excellent. But we are not used now, why? Because many other factors are mainly due to business. Some friends are very right, Microsoft will make a market, otherwise he will not be the most money company. Today, in the US economy, Microsoft is still guaranteed
Hold high-speed development. Especially this year, the monopoly has made significant progress; many major business plans have been introduced, such as .NET, XBOX, etc., even Bill Gates also said that we have never launched so many new products this year. For Microsoft, we can get clues from the side. That is to decline at Nasdaq Stock Market, mainly competitors Sun, Oracle, AOL stocks fell, and Microsoft's stock rose 80%. US investors reflect Microsoft's confidence reflects Microsoft's 2001-2002 market situation in Microsoft. Besides C #, this is the core development language of Microsoft's next main platform, and its importance is not to be a pair of Java. Microsoft has already spent billions of dollars, which is expected to have more US dollars. It can be said that Microsoft actually makes it possible to defeat the opponent, achieve advantages in the competition of the high-end server market, which determines the treasure of Microsoft's future fate in the .NET framework for C # as the main representative. It will come to a small. If Microsoft's market operation does not have a big problem, .NET can make Microsoft's half-Wanjiang Mountain, C # can foresee will become a multiplayer programming tool.
So my point of view, look at the market to .NET's identity, not only can I see the rise and fall of C #, Java, but also to see the success or failure of Microsoft, Sun, Oracle, AOL, and then see the US and the world's future high-tech and even the whole economy. the trend of. In the next few years, if it is not accident, it should be a bloody hurricane.