Ruby is more like Perl or Python?

Source: Internet
Author: User
It is often seen that ruby and python are compared together. Some people say that ruby is more like a combination of perl and python, so ruby is more like python or perl? It is often seen that ruby and python are compared together. Some people say that ruby is more like a combination of perl and python, so ruby is more like python or perl? Reply content: see matz is how: http://blade.nagaokaut.ac.jp/cgi-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, please red by higher order functions.
* Add methods found in Smalltalk.
* Add functionality found in Perl (in OO way ).

So, Ruby was a Lisp originally, in theory.
Let's call it MatzLisp from now on .;-)

So you see, it does not mention python. Ruby is mainly influenced by lisp, Smalltalk, and perl.
Ruby is derived from Perl. Because of the pronunciation of Perl and the birth stone of June Pearl (pearl) is the same. Ruby chooses the birthstone of July. Ruby (ruby) Name
Perl 6 Tang Feng of developers (Autrijus/Audrey) said: "Ruby is 'perl 6' without advertisement everywhere '".
Song benhong, father of Ruby, is accepting Ole ceremony (O 'Reilly) mentioned that "Ruby borrowed a lot of Perl stuff ......, Python is far less than Perl ......" "I think the name of Ruby is really inappropriate as the name of a language after Perl.

Larry Wall, father of Perl (Larry Wall) said: "in many aspects, I still like Ruby very much, because those parts were borrowed from Perl. :-) "," I also like Ruby's C <*> one-dollar asterisk operator, so I added it to Perl 6.
From: Ruby More like Perl, more like Perl. If you use it, you will know this problem. "You are more like one of your parents"

You are you, And Ruby is Ruby. Ruby is just a good place for others. No particular language is found. Of course it is perl. If it is like python, then .....

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.