It is often seen that Ruby is compared with Python, and some say that Ruby is more like a combination of Perl and Python, so is ruby more like Python or Perl?
Reply content:
See what Matz is saying: / http blade.nagaokaut.ac.jp/c gi-bin/scat.rb/ruby/ruby-talk/179642
Ruby is a language designed in the following steps:
* Take a simple Lisp language (like one prior to CL).
* Remove macros, s-expression.
* Add Simple Object System (much simpler than CLOS).
* Add blocks, inspired by higher order functions.
* Add methods found in Smalltalk.
* Add functionality found in Perl (in OO).
So, Ruby is a Lisp originally, in theory.
Let's call it matzlisp. ;-)
So you see, it doesn't even mention python. Ruby is primarily influenced by Lisp, Smalltalk, and Perl.
This is called Ruby
, since Perl's pronunciation is the same as the June birthstone
Pearl (Pearl), and Ruby chooses to name the Birthstone
Ruby (Ruby) in July.
Tangfeng
,
A developer of Perl 6, Autrijus/audrey: "Ruby is a Perl 6 ' that doesn't advertise everywhere."
Ruby's father, as, said
in his interview with O ' Reilly (O ' Reilly), "Ruby borrowed a lot of perl stuff ..., Python is much less than perl ...", " I think Ruby's name is just as good as the name of a language after Perl.
"In many ways
I still like Ruby, because those parts are borrowed from Perl," said Larry Wall, the father of Perl, Larry Wall. :-) "," I also like Ruby's c<*> unary asterisk operator, so I added it to Perl 6.
From:ruby
Like Perl more like Perl, it's like, "You're more of a parent than you are".
You are you, Ruby is Ruby. Ruby just borrows from someone else's good place. No particular language was found. Perl, of course, if it's like Python, then .....