• [^] # Re: Différence avec Python ?

    Posté par . En réponse à la dépêche Sortie de Ruby 1.8.2. Évalué à 2.

    Ce n'est pas une tres bonne idee de comparer Ruby a Python, il vaudrait mieux comparer Ruby a Perl. L'auteur de Ruby aimait Perl, il s'en est beaucoup inspire. Par contre il n'a jamais trop aime Python.

    Ruby s'appelle comme ca parce que Perl avait deja un nom de pierre precieuse.

    Interview de Matz:
    http://www.artima.com/intv/ruby.html(...)

    Stewart: What bits of Perl did you incorporate in Ruby?

    Matz: A lot. Ruby's class library is an object-oriented reorganization of Perl functionality--plus some Smalltalk and Lisp stuff. I used too much I guess. I shouldn't have inherited $_, $&, and the other, ugly style variables.

    Stewart: How about Python? What aspects of that language did you try to reuse in Ruby?

    Matz: Far less than Perl. But I stole a few things, like exception names. Plus I learned a lot from its code.