java-web - java做web比python做web好在哪,差在哪?现在用java的还多吗?
PHP中文网
PHP中文网 2017-04-17 15:58:57
0
4
816

不知道这里可不可以提这种问题,

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(4)
Ty80

Let’s talk about the current situation first. Large domestic companies that focus on business generally use Java for backend development, such as Taobao, NetEase, Meituan, etc. Python is generally used by some companies that are not so large in China, such as Douban and Zhihu .

Compared to Python, Java’s syntax is old-fashioned, coupled with static language and purely object-oriented (lack of functional programming paradigms, such as anonymous functions, blocks, higher-order functions, etc.). Generally speaking, programs written in Java have It has less abstraction and a lot of tedious places. If you write a file directory traversal, you will know how much faster the development speed of Python is than that of Java.
But the advantages of Java are that it runs fast, has simple syntax, and is old-fashioned, so it has less ambiguity and high readability .In addition, there are many good IDEs to help analyze static code, which can be used for code reconstruction. For a large program, Java is generally used, and the complexity of the code is easy to control. Java has few syntax features, so everyone writes The coding style will not be very different. Once you leave, hire a programmer immediately. Java has many mature open source frameworks and tools on the web, with deep accumulation. Large companies are not short of money, so they can recruit more Several Java programmers can still develop faster than you using ruby ​​or Python, and they also have the above advantages.

Are many people using Java now?

That’s a lot, and there will be more! Because Java people are easy to recruit, there are many experienced experts who can work. Chinese materials, mature frameworks, and too many packages. I personally think that Java will be more popular in the next ten years. It will still be the mainstream web development language, not to mention, people can develop more (Android).
Learning Java is absolutely beneficial and harmless to your programming career. After all, object-oriented is available in many languages, sooner or later Need to learn.

Due to my lack of personal skills, there may be deficiencies in what I said, and I hope someone can point it out! Thank you!
In addition, if you find this answer useful, don’t forget to accept it and give it a thumbs up. Thank you!

PHPzhong

What you like and what suits you is the best.
Aren’t Douban and Zhihu both developed in Python?
Java is too complicated. Even big Java companies like Taobao also use PHP extensively on front-end pages, such as the most visited homepage:
https://www.taobao.com/index.php
https://www.tmall. com/index.php

Peter_Zhu

From a purely web perspective, Phyton is simpler, lighter, and should have better performance, but after all, it has not been out for a long time, so there are a lot of pitfalls, the information is not comprehensive, and it is not easy to recruit people. Java is stable, has many frameworks, is easy to recruit, and has complete information, but it is more cumbersome and complex than Phyton and has slightly higher requirements.

阿神
  • Mature architecture, such as Spring

  • Performance scalability is good, Python’s multi-threading performance is the bottleneck

  • Mature community and rich learning materials

There are many more benefits, I thought of these first

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!