PYTHON over JAVA
python,the word which is very familiar now a days especially to software professionals was being widely up trending shell script.Python is intended to be a highly readable language. Python has a smaller number of syntactic exceptions and special cases than C and pascal.
python over java:
Python programs are generally expected to run slower than Java programs, but they also take much less time to develop.
Python programs are typically 3-5 times shorter than equivalent Java programs. This difference can be attributed to Python's built-in high-level data types and its dynamic typing. For example, a Python programmer wastes no time declaring the types of arguments or variables, and Python's powerful polymorphic list and dictionary types, for which rich syntactic support is built straight into the language, find a use in almost every Python program. Because of the run-time typing,
Python's run time must work harder than Java's. For example, when evaluating the expression a+b, it must first inspect the objects a and b to find out their type, which is not known at compile time. It then invokes the appropriate addition operation, which may be an overloaded user-defined method. Java, on the other hand, can perform an efficient integer or floating point addition, but requires variable declarations for a and b, and does not allow overloading of the + operator for instances of user-defined classes.
good start
ReplyDeleteMost useful thing, it has no integer overflows! want to store a number greater than 2^32 - 1 without big integer? We got python!
ReplyDelete