Re: Parrot for Python

From: Roger Binns (rogerb_at_rogerbinns.com)
Date: 04/03/04


Date: Sat, 3 Apr 2004 10:03:23 -0800


> Why is Java so popular than Python.

Java is a great solution for server side stuff. It has the same respect
as C++ gets (ie people and PHB's do consider it a "real" language/environment).
The class libraries are *way* more advanced than the Python ones. For example
compare Python's imaplib with javamail. (Hint: Python pretty much just gives
you raw protocol back and you have to figure out what is going on).

Other libraries such a JNDI, Activation, JMF etc don't even exist in
Python. Have a look at this page:

http://java.sun.com/reference/api/index.html

And this one:

http://java.sun.com/products/

In many cases there are similar libraries for Python, or more often
multiple incomplete (incomplete by comparison to Java) implementations
out there.

Now sometimes you don't need such complete libraries, and Python lets
you get the problem solved quicker. Other times you have to augment
someone else's library component, which would have been time better
spent on your own code.

Roger



Relevant Pages

  • Re: Java -> ActionScript?
    ... Lage sein Java zu verdrängen? ... In Ruby geht das ja, ... Andere Sprachen wie Python oder auch Ruby sind eh ... Die Syntax sollte jedoch das Programm nicht begraben. ...
    (de.comp.lang.java)
  • Python + Java Integration
    ... One of the reasons for Ruby's success is certainly the notion that it is the "next Java" -- the language and environment that mainstream Java developers are, or will, look to as a natural next step. ... One thing that would help Python in this "debate" would be if Python had an easier migration path for Java developers that currently rely upon various third-party libraries. ... JPype is a module that gives "python programs full access to java class libraries". ...
    (comp.lang.python)
  • Re: iniziare a programmare
    ... studiare python o ruby (anche se ora vorrei leggere qualcosa su python, ... javascript(ma quest ultimi non sono utili al fine del post) ... Ruby si accorge immediatamente di cosa intendo quando voglio dire che ... Java è macchinoso. ...
    (it.comp.macintosh)
  • Re: why is "self" used in OO-Python?
    ... When you define a method in Java there is an implicit 'this' passed to the ... Python cannot tell when you define a function whether the function ... Some languages don't allow you to encapsulate ...     def phone: ...
    (comp.lang.python)
  • Re: Python or Java or maybe PHP?
    ... Python or Java? ... Ruby (with Rails, of course, as the server-side framework), Python (many ... this cuts both ways (once you've decided on Java as the language you ...
    (comp.lang.python)