Why Python is Better than Java

Veröffentlicht am: 01 Juni 2014
auf dem Kanal: Techy Help
14,732
like

Do you know why Python is better than Java?

In real estate, they say what matters is location, location, location. In IT security, they say security, security, security.

How is that related to my question?

When you upgrade versions of Ruby, it is often prone with errors if not going to break anything written in the old version of Ruby. Java is backwards compatible, but it updates so often it is a pain to work with.

Why does Java update so often?

Security, security, security. Java has a rather open architecture, and filling in one hole creates another for some hacker to exploit.

One of the advantages of Java is the Java Virtual Machine or JVM.

Yes, and the JVM is even used by other languages like Clojure. If you like the JVM, use Jython, a Java-Python hybrid.

Java's a mainstream language. Python is less popular, and Jython is downright esoteric.

You're exercising your vocabulary! Speaking of which, Java tends to be verbose, too.

I don't get it.

You're going to have to write more code to do the same job as you would in Python. And with a larger vocabulary so to speak, it is easy to make a mistake.

So you have some accidental complexity. That requires more planning to avoid.

And Java doesn't have a standard framework like Ruby on Rails.

Whereas picking between Django, Flask, Pyramid and maybe another one is a hassle.

While Python does not have the immediate cross-platform compatibility of Java, you're less likely to get hacked. And Java tends to spawn errors, as many people encounter on various websites.

One of Java's strengths is that it is widely known.

That's one of its weaknesses, too, since it is so often used for applications where it isn't a fit. But Clojure can be seen as a next generation of Java, and that's growing in popularity.

Whereas Python is going to be around a lot longer.


Auf dieser Seite können Sie das Online-Video Why Python is Better than Java mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Techy Help 01 Juni 2014 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 14,732 Mal angesehen und es wurde von like den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!