Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why do people like python over java?

0
Anonymous Posted

Why do people like python over java?

0

Python has fewers rules when it comes to code syntax. For example, in Java, you need to declare each variable as a specific type, and the variable remains of that type forever, whereas in Python, you don’t exactly declare anything, and the virtual machine simply assigns the object types on the run.

Another difference is that Java uses quite a lot of keywords, esspecially verbs (using, imports, inherits) and in some cases it resambles a spoken language. Python has fewer keywords but with "more meaning", making the code easier to type.

Of course, this is all just a matter of personal choice.

Read more here.

0
KimAnh Huynh

Some reasons are: 

1. Python is simpler to learn. Especially who have no background about programming and want to be a programmer. 

2. Python uses less memory.

3. Python program start up much faster than Java programs.

4. Python is better for fast development.

5. It is easy to package Python scripts to a standalone native software, while for Java software you need install the JRE (Java Runtime Environment).

6. It is easy use Python as an embedded language – its footprint is small.

7. Python has more freedom blood than Java(Java is a product of Oracle now). 

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.