S
S
Sergey Nizhny Novgorod2017-04-05 08:26:13
Python
Sergey Nizhny Novgorod, 2017-04-05 08:26:13

Is there an advantage of Java over Python for a web application?

I noticed that there are a number of topics where the work of a web application in php and Java is compared, where the only advantage of Java is its structuredness and purity (which is poorly written in php, and then it is difficult to maintain it all). In everything else, php wins Java.
If you take into account Python and its Django + asynchronous frames, then it does not have the disadvantages of php. Does this mean that Python web applications are better than Java applications?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Gornostaev, 2017-04-05
@Terras

The main advantage and curse of scripting languages ​​is their dynamic nature. On the one hand, this gives a fast development cycle, and on the other hand, it makes it harder to support large projects. In strongly typed Java, most errors, especially stupid ones, go away at compile time. On the other hand, to run a simple Java project, you have to perform a lot of unnecessary gestures. Well, everyone knows a funny picture
. Therefore, it is better to choose a tool for the task, not to hammer the studs with a sledgehammer and not to knock on the railway crutch with a jewelry hammer.

A
Andrew, 2017-04-05
@RaGe22

There is a task, there are tools to solve it.
These tools were invented not just like that, but just to solve these problems.
Big complex - java, with its typing and structure of everything, but the payoff for this is great complexity
small, medium - python, php and a bunch of everything else - write quickly, but there will be problems with a complex project due to language features, limitations of available libraries

S
Sergey Novikov, 2017-04-05
@BOOMER_74

If you have crooked hands, you can write "bad" on anything. You need to look at the real needs of the project and its requirements, somewhere easier in PHP, somewhere easier in Java or Python. In addition, do not scold PHP, the 7th version is not even very bad in terms of performance, there is a styleguide and coding standards (PSR).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question