PYTHON VS JAVA… IN FUTURE CAN PYTHON REPLACE JAVA???
What inspired me?
Just now i completed my reading about the python vs c# . I worked little in c#.ya u can do most in c# but it runs only on a compatible environment i.e. if you run asp.net application (web application) it runs automatically on internet explorer only. But python a platform independent application..In that war python wins.
Reason for writing this:
To be frank, i don’t need java to rule all times in apps and some enterprise applications. What is less in python or what is more in java?…So come let’s see the language differences.
My dream:
So my future dream my desire is to make developers to use python for all purposes ie… for apps,for websites,for writing os even….
Python-The king of libraries:
Python a library master you had libraries for all data science,for ai even for mathematical computations etc.
Some of the python libraries:-
Scrapy: For web scrapping just like your API’S ie. using needed data from other sites using json or simply html links of proper routing. python helps to scrap data with Scrapy.
Tkinter,wxpython:A gui buliders of python used for making interactive gui for desktop apps enterprise apps etc.. also for front end in flask development.
Numpy: How can we leave this very important library ? It provides some advance math functionalities to python.
matplotlib. A numerical plotting library. It is very useful for any data scientist or any data analyzer.
pygame: for developing games.
etc… these are just a part in a universe….. lots lots and lots of libraries are there for python which is uncountable still developing and we can’t use all and we can’t learn a simple advice.
Java :
I understand java has libraries which can do most as like python like web for eg. and for apps all would say blindly java and android combination. OK FINE!….for how many years you use this??java apps are still from 2000…. so why we won’t change that think about it???.Most games still are java powered and machines are running mostly with jvm’s. Remember i am not saying that java is totally waste, but see they are used from 90’s to till now. So something over ruling the tech industry for long time…
Though java apps are really good indeed. On play store all the apps mostly 95% are developed only with java.This craze over java and less knowledge about python must be ruled out.
Python vs java:
Dynamic vs Static Typing
One of the biggest differences between Python and Java is the way that each language handles variables. Java forces you to define the type of a variable when you first declare it and will not allow you to change the type later in the program. This is known as static typing. In contrast, Python uses dynamic typing, which allows you to change the type of a variable, by replacing an integer with a string, for example.
Dynamic typing is easier for the novice programmer to get to grips with, because it means you can just use your variables as you want to without worrying too much about their types. However, many developers would argue that static typing reduces the risk of undetected errors plaguing your program. When variables do not need to be explicitly declared before you use them, it is easy to misspell a variable name and accidentally create a whole new variable.
Speed vs Portability
The great advantage of Java is that it can be used to create platform-independent applications. Any computer or mobile device that is able to run the Java virtual machine can run a Java application, whereas to run Python programs you need a compiler that can turn Python code into code that your particular operating system can understand. Thanks to the popularity of Java for web applications and simple desktop programs, most devices already have the Java virtual machine installed, so a Java programmer can be confident that their application will be usable by almost all users. The disadvantage of running inside a virtual machine is that Java programs run more slowly than Python programs.
Get BHUBESH KRA’s stories in your inbox
Join Medium for free to get updates from this writer.
Python apps the future:
Till now for downloading a app, you are just doing this
i) going to playstore (again a android app).
ii)Searching for apps and clicking on install.
ok fine looks good. Now think app that used in android can be used in ios???
obviously answer is no. So come lets see a new way here..
i) first think you can download a app without worrying what platform you are using either android or ios.
ii) So you can ask me. haan whats the problem android developers of world will contribute to android and ios developers will develop for ios…. Lets see
Listen for example a company is trying to develop a app for both ios and android.
i) hire android developers and their salaries.
ii) hire ios developers to make content and looks of android app to fit in ios apps.
now say implementation cost???? you need to pay for both group.
So now you see if i use libraries just a libraries for developing a app… and just uploaded in the internet more technically a site with domain name will show you all the apps that run in both android and ios. you just click install use that where you want.. haha….
There is another problem you can ask me. hey dude is there same libraries for both android and ios app??
Simply the answer is no. you need to use two different libraries.Bit shocking right…Now your doubt again implementation cost is close to developing android or ios app?…
Again i am saying your language java is platform independent. But it can only do android apps. Your changing the language totally for ios.Here in python i am not changing the language just a library.
“IN THIS WORLD THERE ARE ONLY LANGUAGE DEVELOPERS”. if i know python then i would say i can develop something.Because if you learn python, learning a library is not just a big matter it can be accomplished in 2 or 3 days.
So now say about implementation cost?? after reading this…
Finally:
I don’t know whether future python replacement is possible or not?? but i will strive hard to make such things for a huge tech replacement.
If you really think my idea was good just share your thoughts guys lets join and explore the world.
JUST TEXT ME??after reading this…
THANK YOU.







