T
T
Tyrion Lannister2017-06-03 03:09:40
css
Tyrion Lannister, 2017-06-03 03:09:40

What's the difference between Java and Python?

This question does not apply to holivar. Both languages ​​are interpreted by bytecode. Java is faster and more popular, but Python allows you to develop faster. The author of this question is in cognitive dissonance, not understanding which language to choose for his purposes, although both languages ​​have the potential for this. The goals are focused mainly on web and GUI development.

Answer the question

In order to leave comments, you need to log in

7 answer(s)
A
Ainur Valiev, 2018-09-24
@kiril_murr

css3 rotate for the arrow, the rest is background.

A
AlexKindGeek, 2018-09-24
@AlexKindGeek


Or google speedometer javascript (css) Detailed
article (Canvas)

A
Andrey, 2018-09-25
@svistiboshka


plus animation manual https://html5book.ru/css3-animation/

M
Maxim Moseychuk, 2017-06-03
@fshp

Python makes development faster

It's a delusion. At first glance, this is true, until the first major refactoring. When you start receiving strings in the function instead of numbers, you will only know about it at runtime.

F
freecoder-en, 2017-06-03
@freecoder-en

What is written in 1-2 lines in Python requires 10-30 lines in Java.
The above is too unprofessional. What are we talking about here, what is this? Or maybe it's better to write something in Java in 30 lines, but the performance will be better. What do you say?
Python has enough of its own blunders, I personally am for statically typed languages. When a problem starts in Python during runtime (For example: "When you start getting strings into the function instead of numbers"), then everything that was saved is quickly lost.
Perhaps, at first, but then because of the simplicity, which is straight from the stupid rushing, you can write such that it will not seem simple later, and again thanks to Dynamic typing.
Simplicity is a controversial thing, everything is simple until the task is difficult.
I advise you to get acquainted with Python and Java, learn the pros and cons of Dynamics and Statics.

E
Eugene, 2017-06-03
@immaculate

Java is a statically typed language, Python is dynamically typed. As you have already noticed, many adepts of static typing believe that it prevents most errors. I have rarely encountered type errors in my practice.
Python is much easier to learn, intuitive and easy to read. What is written in 1-2 lines in Python requires 10-30 lines in Java.
An unequivocal answer is that it is impossible to give a better one. But for programming “for oneself”, “for the soul”, almost no one chooses Java. Java is Enterprise, big long and heavy projects, as a rule. Python is lightweight, dynamic.
If you start programming from scratch, then learning Python is definitely several times easier.

D
Dimonchik, 2017-06-03
@dimonchik2013

choose Python and Go for your purposes, Java is good for everyone, only figs will learn how to cook it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question