Why “PYTHON” not “JAVA”

->CODE

Java 

Longer lines of code as compared to python public class.

Eg:-class code{

public static void main(String args[])

{

System.out.println(“CRACKTECH.INFO”);

}”

PYTHON

print(“CRACKTECH.INFO”)

->SYNTAX

JAVA

At the end of the statement if you miss semicolon it gives an error. In java you must define a particular block using curli braces without id code doesn’t work.

PYTHON

In python, you don’t need a semicolon to end. In this, you never have seen a sight of curli braces but indentation also improves the readability of code.

->DYANMIC

JAVA

In java, you must declare the type of data.

PYTHON

Python codes are dynamic typed. This means that you don’t need to declare type of variable this is known as duck typing.

->SPEED

JAVA

In terms of speed, java is faster than python. Whenever in projects speed matters the java is best.

PYTHON

It is slower because is an interpreter and also it determines the type of data at run time.

->PORTABILITY

JAVA

Due to the high popularity of java, JVM is almost everywhere.

PYTHON

Python is also portable but in front of java, python is not popular.

->DATABASES

JAVA

JDC is the most popular and widely used to connect with the database.

PYTHON

Python’s database access layers are weaker than java’s JDBC. This is why it rarely used in enterprises.

->EASY TO USE

JAVA

java is not easy to use as compared to Python because there is no dynamic programming concept and codes are longer than python.

PYTHON

Python codes are shorter than Java. Python follows dynamic programming python codes not only easy to use but also easy to understand because of indentation.

->LEGACY

JAVA

Java’s history in the enterprises and its slightly more verbose coding style mean that java legacy system is typically larger and more numerous than Python’s

PYTHON

Python has less legacy problem so the organisation finds difficulty for the script to copy and paste code.

 

 

 

 

2 thoughts on “Why “PYTHON” not “JAVA””
    1. Yes, this is the right in-app development project python stands no-where. Each language has its own benefits. Some are good in-app-development some are in others. As per requirements languages are used.

Leave a Reply

Your email address will not be published. Required fields are marked *