http://qs321.pair.com?node_id=1221415


in reply to Re^4: OO systems and Perl 5 (Was: Recap: Future of Perl 5)
in thread OO systems and Perl 5 (Was: Recap: Future of Perl 5)

There are many object models out there, or used to be.

Semantics count and the will to blend it into Perl 4.

NB: Python has no packages.

I already explained my interpretation of compromises he did for more flexibility.

edit

BUT I have to admit that I struggled a lot with Perlootut before reading Damian's book....

There is a saying that emacs is not an IDE but an IDE construction set.

The same seems to apply to Perl and OOP.

You can mimic most of the syntactic sugar of Python, though I'd rather try copying Ruby.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^6: OO systems and Perl 5 (updated)
by RonW (Parson) on Aug 31, 2018 at 21:08 UTC
    You can mimic most of the syntactic sugar of Python, though I'd rather try copying Ruby.

    I only discussed Python OO because someone mentioned that Larry said he stole Python's OO system (and then repented).

    When I was doing my searching, among the OO systems I found, Smalltalk was closest to Perl 5's OO system.

    (As for Ruby, maybe Python 3 stole Ruby's OO system.)

      > As for Ruby, maybe Python 3 stole Ruby's OO system.)

      This would surprise me. Any details?

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice