Monday 20 October 2014

Java vs Python

Assalamualaikum w.b.t :)

In this post,I would like to raise up a topic related to what we have learn before.Back then,we have explore what Java is,its programming language,how is it work and many interesting things about it.Then,we move on to new programming language in class a week before;Python.So,what is the differences between this two programming languages?Which one is better or easier for us to understand the coding,syntax and everything?Let's take a look.
"Python is more creative than Java isn'it?It would be dangerous to claim that java is not much as productive than Python due to many factors."



JAVA
COMPARISON
PYTHON
  • Statically typed language
TYPE OF LANGUAGE
  •  Dynamically typed language
  • Requires to define the type of each  variables
  •  Object-oriented
  • Must invoke a compiler to compile the code,then run the program.


USE OF VARIABLE
  •  No requires to declare any variables
  • Mix object-oriented
  •  Run the code directly

  • Faster


RUNTIME SPEED


  • Slower




COMPARING “HELLO WORLD”






From this basic comparison shown above,we can have a simple conclusion;both of them have their own strength.

Link:



No comments:

Post a Comment