Why Python is Better than Java

preview_player
Показать описание
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.
Рекомендации по теме
Комментарии
Автор

Also if you could put some kind of visual that helps explain what you're talking about rather than just two ppl talking would be very helpful.

jumpysniper
Автор

Java is good, you can't deny that!

herr_pouya
Автор

One word... boiler plate code for java

electra_
join shbcf.ru