Learning Java or Python ?
Java and Python are the one of the most popular programming languages. Both programming languages have their advantage based on their uses. Therefore, we need to do some research to see which programming language that suitable with our needs.
Python
Python is a general purposes programming language. The meaning of general purposes programming language is because python can be used to build and develop a variety of different programs. Python used to develop software, data analysis, automate tasks and many more.
Python designed to emphasizes code readability, where users can understand the meaning of the codes. It because python language style is close to ordinary interaction.
Java
Java is object oriented programming language. Object oriented programming allows developer to be able to modify and develop existed program even further. It give flexibility for developer to add more features to their programs. Java often used to develop mobile apps, businesses software, big data apps, server-side technologies and many more
Popularity
This section explaining popularity between Java and Python. Graph below showing the popularity between Java and Python as a professional developers on 2023 :
Based on the graph python is more popular than Java on 2023. From the graph 45.32% professional developers pick Python as their preferences, compare to Java with only 30.49% from 67.053 respondents. Graph below showing the popularity between Java and Python each years :
From graph above we can see that professional developers prefer to use Python than Java. Other than that, every year Python popularity is also raising compare to Java popularity that decline every year.
Get F Bahiransyah’s stories in your inbox
Join Medium for free to get updates from this writer.
Other than from professional developers we also able to see popularity from learner perspective. From graph below we can see popularity from learner data :
Based on the graph on 2023, people that start learning code prefer to start using Python as their programming language with 56% from 4.905 respondents. We also able to see from graph below the different responses each year from 2022 to 2023 :
Based on the graph people that learning code prefer to use Python than Java from 2022 and 2023. From all the information we can conclude that Python is more popular code among professional developer and among code learners.
Example Apps
Python and Java have their own advantage from their own features and extensions. We can see what kind of programs Python and Java can make by utilizing their features. Image below showing all the program or application list that developed using Java or Python :
From image above we can see what kind of program able to make. Python develop application and programs more leaning into a simple program and program that require less computation. Python also used for used for a rapid development and programs that utilizing machine learning. Example application that develop using Python is Instagram, Reddit, Flappy Bird, The Sims 4, Doki-Doki Literature Club, and many more.
Java more used to program that robust but have flexible development environment. Even thought application that use java as their platform is complex but it able to run faster than Python. Many mobile application use Java as one of their programming language because of their security and have many built-in mobile development features. Some example program that develop using java is Linkedin, Telegram, Google Docs, Uber, Minecraft and many more.
Difference Aspect
Based on all information that we get, we able to see advantage between the two application. Below is table to see advantages from both of the programming languages :
Personal Opinion and Suggestion
My personal opinion Java have more strict and complex syntax than Python. Learning Java give deep understanding on how codes working, from the function and its flow program. Python is more simpler but some of the syntax is not detailed as much as syntax in Java.
From the code we can see that Java have more parameters to start the code compare to Python. In Java also have strict variable type not like Python, where in Python variable type is depend on the value. In java you need assign every variable type and need to be consistent until the end of the codes. Below are example on collection data type codes. In Java you need to assign the data type for the data structure, but in Python you can just fill list with multiple different type of values.
From my personal perspective as computer science student it is better to start learning from Java it teach you to be precise on writing code with less error. Java also teach you on utilizing many useful basic function that can be use in any software development.
References :
Kareliya Akash, Decoding the Java vs Python Debate: Which Programming Language is Better?, Dec 25 2023, [Online] https://radixweb.com/blog/python-vs-java
Stackoverflow Yearly Review, 2023, [Online] https://survey.stackoverflow.co
Coursera, Python vs. Java: Which Should I Learn?, Nov 22 2023, [Online] https://www.coursera.org/articles/python-vs-java






