Crextio.com Latest Questions

Hye Aragon
  • 0
  • 0

What advantage does java have over python in backend web development?

  • 0
  • 0

Programming languages are capable of doing most of the tasks and could help you formulate your decision, despite their differences.

Related Questions

Leave an answer

Leave an answer


2 Answers

  1. Every language has there own benefits over other languages. For example if you talk about online coding competitions then you will opt mostly for c++(or c) over java and python but if you’re good at java or python then for sure you will opt for the latter ones. When it comes to benefit what I see is python is a general purpose language and man you can apply data science using python/R but not java or others. Also data science is very popular in the market now. Python allows you to make gui applications, web applications which java also does and as far as I am concerned , python has better backend support then java(correct me if am wrong). But where comes in the world java has benefits over python??? Actually java is being developed by many great developers for over 20years and so we get many built-in packages which make our day easy. Also languages are used according to needs. I personally prefer java in online coding for String handling but when there is only mathematics then opt for c++ and it becomes quite typical in python to first split the input and then start coding. Benefits of languages depends upon the way developer,user or programmers see it in their perspective.

  2. In my opinion, Java is more explicit in nearly every way compared to Python. That may make it clearer to you what’s going on. For example, Java has interfaces whereas Python uses multiple inheritance. Another example would be Python’s dynamic vs Java’s static typing. Python by default takes some of the details away from the programmer, whereas Java requires you to state them, making it more explicit. 
Another advantage over Python is that Java is compiled whereas Python is interpreted. There are also some differences in the way the code is meant to look, like Python’s indedentation vs Java’s braces. I personally find the former to be annoying. 
Lastly, there are two practical benefits to Java: there are more and beter IDE’s and Java is compatible with many platforms thanks to the Java virtual machine. 
In my opinion, Java is the better programming language in general, but Python should be choosen for speed or rapid learning.