Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by LanX (Saint)
on Aug 31, 2018 at 01:15 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1221415]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (8)
As of 2024-03-28 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found