From the last time this article, it has been viewed 3000 times now. Some questions I still can continue to argue. So, put the article out, and add a comment on other nets, making it complete. I hope that everyone will speak, no problem is unclear.
In addition, I declare again: I didn't attack Java, nor did any discrimination of Java programmers.
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. Any new language will be questioned. Today, Java's crazy supporters, how much is it yesterday? It is still complaining that Java is too slow, the interface is complicated? We look forward to C # tomorrow, and we look forward to Java tomorrow.
Comments on this article
Qinglinmeng (2001-8-25 10:10:17)
Popularity: and number of votes: Reflecting China's views on this new technology, prove that China's programmers are at least concerned about Microsoft's latest technology.
Thank you all participation in this public opinion.
Lygwolf (2001-8-8 17:27:48)
Agree with the opinions of Qinglinmeng.
Bill's purpose is to rule all computer operating systems, it is not important to cross the platform, because he wants to be his platform naturally does not have a "cross" platform.
In fact, my great worship Bill, the market operation method is no one!
Vericky (2001-8-8 15:25:15)
> // 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.
Dickmi, causing misunderstanding, I don't understand Java is two yings. I really think that this misunderstanding is easy to generate, don't feel that I have not misunderstood. Everyone is gathered in order to study the problem, do not involve any other purpose, shouldn't you maintain a certain amount of persistence?
DX (2001-8-8 15:24:41)
Agree to the above view
Moreover, you won't be so bored, have replaced "Aaaaaaaaaa" with S1. Use it to assign the value, is there anything to do?
Program_cocogao (2001-8-8 14:40:23)
I support Microsoft! ! !
ZH9625 (2001-8-8 14:28:43)
Even if C # is really better than Java, I also hope Sun, Oracle is united to engage in Microsoft.
MS is really annoying, it is not wanting something.
I like Java.
Chliang (2001-8-8 14:03:07)
There is a problem with the introduction of this open article, nor does it know that the speaker is a Java programmer. I have seen Java's certification guide, about String problems, for repeatedly used strings, should be used:
String s = "...";
Such a model, such Java will generate "template" for this string "string", when appearing
String S1 = "...";
When "S1 == S" is. That is to say, it is a reference to the same "pointer", where is this benefit?
When you have a few identical strings, such a mechanism saves you a memory. Discussion C #, if the clone method is to copy one, then it feels not so scientific, when a few STRING The object is very big, will n't you waste memory for the same thing? Is it easy to understand to understand the user? Will Microsoft will make such a choice? Don't let everyone misunderstand because you don't understand.
If Microsoft is really making C #, then C # itself has a big problem. I still "Microsoft is really hated."
Qinglinmeng (2001-8-7 19:10:34)
The view of QQChen79: MS is also working hard to open .NET's virtual machine system, but I am afraid that it is difficult to achieve it on other systems. It is our unwilling to see, I privately speculate the purpose of Bill Gates, C # has realized the intermediate code, just one step away from the cross-platform, why do you stop this? We can analyze: If Microsoft announces technical standards, I hope UNIX camp supports C #. There are only two options for UNIX camp: support or not support. If you don't support it, Microsoft has a good excuse to not support Java on the .NET platform, so Java may always be separated from the desktop application. Microsoft can enter the server field, which is a good thing for Microsoft.
SUN is definitely not happy if supported. Sun's server price is very high, the gross profit margin is very large, the reason is to master the current enterprise-level weapon Java, and do not want to industrialize, just willing to enjoy themselves. If people choose the second cross-platform development language selection, there is no doubt that they will shake the basics of SUN.
If the above analysis is correct, the standard of Microsoft announces C # should be a good thing. Why didn't Microsoft are late? My speculation is that Bill Gates thinks how to destroy UNIX. Because C # can't cross the platform, it means that the standard is incompatible, it means that both always compete and cannot coexist.
The biography of Bill Gates, the more I feel like it.
Yifanwu (2001-8-7 18:11:43)
Dickmi is too right!
WWTMW (2001-8-7 15:49:23)
Good, SO I Don't Plan to Learn Java
Qqchen79 (2001-8-7 0:27:31)
C # is indeed a lot of improvements than the Java replay, but only these places are hard to attract the original Java programmers.
The choice between Java and C # is more than just the choice of language, and more is the selection of the platform. You are hoping to get an easy-to-use, powerful multi-language development, or want the code to run in different operating system platforms. The answer to this question was obvious, but the absolute advantage of the MS Windows / IE made it happened in the INTERNET client. MS is also working hard to open the .NET virtual machine system, but I am afraid that it is difficult to implement it on other systems. Another object of .NET lies in Wireless Devices, in this regard, WinCE, ASP.NET, and C # have a certain advantage.
As for the C / C / ASM system, I am afraid that the existing language cannot replace its status. At least, C # / java is unable to apply itself to the completion class library, VM is even more powerful. You can only say that Java and C # will replace C / C in some dedicated areas.
Therefore, specific issues should be specifically analyzed.
Wolfs (2001-8-6 23:09:36)
Basic support, but don't be too bian java.
Qinglinmeng (2001-8-6 19:34:41)
Thank you for your comments, I originally published this article to cause everyone to argue. Because these problems, there will be no correct results never.
KiddyCoffee and Dickmi do not agree with my little comment on Java syntax, I am not saying Java grammar errors. Java's grammar is no problem, and the grammar here will not generate an unsurired. Errors and easy cause errors are two concepts. Don't forget, there is a "simple" principle in the guidelines for Java design. If this is not for this reason, Java will not remove multiple inheritance and operator overloading (C programmers have been very unhappy).
In fact, it doesn't matter to this example. Careful comparison, the two grammar is different from MICORSOFT to Java improvements. This ion should be much. Cashing, if you want to find a C # compiler, you can download NGWS (Next Generation Windows Support on Microsoft), about 120m.
Wentang163NET, when people invented C , people cheered, thinking that I have found the final solution (until today, there are many C supporters, go to the C column to see if you look at it), but what about now? C is already replaced by the next generation. I also agree with your point of view, C # and Java are similar, but this is in grammar, but behind this, hidden business benefits and competition are driven. We are all developers, saying that there is a truth, where is there, where to make money, learn something (it is too real). So I don't think Java will not have C #.
Duker, your point of view is correct now, but you want to look at things in dynamic eyes. If there is no internet, there is no today's sun, oracle; if there is no PC, there is no Today's Microsoft; if there is no integrated circuit, there will be no IBM. Historical real charm is uncertainty. Who can say Microsoft can't make progress in the server? Don't forget, this is the world's largest software developer, and the most money company, his ability is not good. Moreover, Microsoft has entered this area, and there is no capital, and the high degree of monopoly of the client (.NET uses an advantage).
Thank you, welcome to speak or write qinglinmeng@hotmail.com.
Right, Dickmi, to check the meaning of Dick in English.
Qinglinmeng (2001-8-6 19:34:29)
Thank you for your comments, I originally published this article to cause everyone to argue. Because these problems, there will be no correct results never.
KiddyCoffee and Dickmi do not agree with my little comment on Java syntax, I am not saying Java grammar errors. Java's grammar is no problem, and the grammar here will not generate an unsurired. Errors and easy cause errors are two concepts. Don't forget, there is a "simple" principle in the guidelines for Java design. If this is not for this reason, Java will not remove multiple inheritance and operator overloading (C programmers have been very unhappy).
In fact, it doesn't matter to this example. Careful comparison, the two grammar is different from MICORSOFT to Java improvements. This ion should be much.
Cashing, if you want to find a C # compiler, you can download NGWS (Next Generation Windows Support on Microsoft), about 120m.
Wentang163NET, when people invented C , people cheered, thinking that I have found the final solution (until today, there are many C supporters, go to the C column to see if you look at it), but what about now? C is already replaced by the next generation. I also agree with your point of view, C # and Java are similar, but this is in grammar, but behind this, hidden business benefits and competition are driven. We are all developers, saying that there is a truth, where is there, where to make money, learn something (it is too real). So I don't think Java will not have C #. Duker, your point of view is correct now, but you want to look at things in dynamic eyes. If there is no internet, there is no today's sun, oracle; if there is no PC, there is no Today's Microsoft; if there is no integrated circuit, there will be no IBM. Historical real charm is uncertainty. Who can say Microsoft can't make progress in the server? Don't forget, this is the world's largest software developer, and the most money company, his ability is not good. Moreover, Microsoft has entered this area, and there is no capital, and the high degree of monopoly of the client (.NET uses an advantage).
Thank you, welcome to speak or write qinglinmeng@hotmail.com.
Right, Dickmi, to check the meaning of Dick in English.
Duker (2001-8-6 18:34:39)
Java is more than just a language, or a runtime environment, this runtime environment can be cropped, such as J2EE, J2ME, J2SE
And C # is just a language, its runtime environment should be .NET this frame, Java's runtime environment is clear,
After time, it is very stable, .NET, who can publicize me about the official norm of .NET.
MS products and technology have never become the mainstream in the server field, and from now on development trends, I think it will not.
The strength of MS is still in terms of human machine interaction design, look at it how many flowers do Windows do.
WANGYAGANG (2001-8-6 17:56:04)
Java has a variety of OS, while MS C #? ? ?
KiddyCoffee (2001-8-6 16:25:39)
> // 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.
Incredible.
Wangzy (2001-8-6 16:09:30)
Views OK!
Wentang163NET (2001-8-6 14:48:07)
Any language has to pass its childhood, C # is no exception.
The problem is, now we have C , there are java, how many people are willing to take time to learn C #? Especially in this language, is therefore proven to be significantly better than other programming languages? I personally think that C # is similar to Java.
Dickmi (2001-8-6 9:29:29)
> // 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.
Please, don't understand Java, don't come out! This thing will never cause misuse! This can only explain that you only know a little fur, even if you think that your face is fur! ! ! ! !
Cashing (2001-8-5 16:09:52)
How to get a C # compiler?