in reply to Re^2: Why Perl in 2020
in thread Why Perl in 2020
Python, in-and-of itself, inherently is OO, right to its core
Really? Care to elaborate? Note that Matz invented Ruby because he disapproved of Python's OO, as indicated here:
I was talking with my colleague about the possibility of an object-oriented scripting language. I knew Perl (Perl4, not Perl5), but I didn't like it really, because it had the smell of a toy language (it still has). The object-oriented language seemed very promising. I knew Python then. But I didn't like it, because I didn't think it was a true object-oriented language – OO features appeared to be add-on to the language. As a language maniac and OO fan for 15 years, I really wanted a genuine object-oriented, easy-to-use scripting language. I looked for but couldn't find one. So I decided to make it.
Matsumoto describes the design of Ruby as being like a simple Lisp language at its core, with an object system like that of Smalltalk, blocks inspired by higher-order functions, and practical utility like that of Perl.
See also: old stack overflow discussion of Python OO
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Why Perl in 2020
by Arunbear (Prior) on Jan 06, 2021 at 14:58 UTC | |
by LanX (Saint) on Jan 07, 2021 at 13:25 UTC | |
by Arunbear (Prior) on Jan 07, 2021 at 16:51 UTC | |
by LanX (Saint) on Jan 07, 2021 at 17:17 UTC | |
by stevieb (Canon) on Jan 06, 2021 at 15:52 UTC |