Java is written during this period of time. Of course, C # is still used for work, although it is far from enough for many senior Java people. but to be honest, I disagree. what can solve the problem actually has little to do with the language itself. I have always wanted to write some things about the learning series of key programming points, but because I am too lazy, I have always been thinking and having no action (I should write it later ). the following is my opinion on Java and I hope you can correct it. (This article is mainly intended for colleagues who want to learn more about several languages and have no language control skills ):
1) the true advantage of Java lies not in its technology and cost advantages, but in its open-source and cross-platform ideas.
From the perspective of language technology itself, Java and C # Have no advantages over each other. After all, C # (including the DOTNET System) is a latecomer and draws on the strengths of many languages in depth. For some framework-based things, some design patterns are irrelevant to the language. You can do it, and others can do it. C # although it has some advantages in terms of language, it does not mean that it is better than Java in terms of technology, because things are often two sides, and the length is relative. Therefore, technically, the difference between Java and C # is negligible.
The cost comparison is actually very difficult, but from the point of view that there is no free lunch in the world, Java is not essentially a cost advantage, because it allows you to pirated (Microsoft's strategy) it is essentially the same as open-source strategies (low-level, free-of-charge, high-level, or commercial), while Java Development is slower, A relatively high labor cost will push up the cost of the entire project.
The advantage of Java lies in the concept of open-source (not equal to free) and cross-platform. In fact, whether or not the platform can be used as a cross-platform is free or not is not necessary. The key is that this idea gives people an expectation. Don't underestimate the expectation brought about by this idea and it has a great effect. Why? In fact, this is human nature. People are actually a mixture of sensibility and reason, and reason is not the first. That is to say, most people are more emotional than reason. In this case, concepts play a very important role, because they give people a more emotional role. Take cross-platform as an example. If you analyze it rationally, you will find that, except for a few applications, most (at least 80%, not to mention Web applications) do not need to be cross-platform (not to mention cross-platform, in fact, you still have to install a virtual machine, and the virtual machine itself cannot be cross-platform). The open source is the same, so we will not talk about the charges, because the Open Source charging means making you pirated publicly. Free Open Source looks very beautiful and profitable, but there are very few free and useful things (this is also decided by the interests). Many free things have a paid version at the same time, it can be used for free, but it is not guaranteed, and its functions are generally limited. If you are actually using commercial applications, the probability of selecting a paid version is much higher (as to why, you can think about it ). This strategy is actually a kind of psychology that uses people to be greedy, cheap, and afraid of things. This does not apply to JVM by Oracle. In essence, free is a violation of human nature and is in line with human nature (greedy nature). In fact, they all want others to be free, but they want their own fees. But in the end, we have to pay for what we get.
Open source and free bring about another problem at the same time, that is, the diversity of Java systems, resulting in a variety of frameworks, platforms, and a variety of ranking concepts, which virtually increases the learning and porting costs. To be honest, Java is more difficult to learn than C #. The fundamental point is that basic learning is not difficult here, but it is more troublesome to deal with these frameworks and platforms, because these frameworks and platforms are not generic (essentially, these companies share their own interests with Microsoft), and Java frameworks and platforms like configuration, many things like turning around, and this configuration is often closely related to the framework and platform, which makes learning and using much more difficult. Here, it doesn't mean that configuration is not good (there are still many advantages of configuration), but everything should be done in a certain degree, because once it goes to extremes (full configuration and Zero Configuration ), we tend to fall into the anti-28 law.
Of course, here I am not talking about open source and free, nor criticizing the java system. I just want to discuss it as a matter of fact, because as a programmer, we need to look at these things rationally.
2) programming language is a tool
Programming Language is a tool. Of course, it is not a bad thing to know more about some tools. It is not difficult to learn another tool by using a familiar tool. Of course, learning a language should not be entangled in the syntax itself. You can write a system and solve the problem.
3) To learn Java, you should not be entangled in configuration details. After learning about its nature, you do not need to be too detailed, because every framework and platform are different, find a manual for actual use. Of course, you can also learn how others use configuration to solve some problems.
PS: in fact, human nature is complicated, and it is not as simple as greed and laziness.
PS: the idea will become your feeling, and more will become your subconscious. The good news is a marketing method. White points are brainwashing. steve Jobs knows this well, and China's 360 week also understands this well .... those who are well versed in this path and have the motivation will basically succeed. politically speaking, let alone.