Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: OO systems and Perl 5 (updated)

by LanX (Archbishop)
on Aug 31, 2018 at 01:15 UTC ( #1221415=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1221415]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2019-05-22 08:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (138 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!