Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Why is it said that Perl does not implement true object orientation?

by chromatic (Archbishop)
on Apr 21, 2000 at 01:09 UTC ( [id://8281]=note: print w/replies, xml ) Need Help??


in reply to Why is it said that Perl does not implement true object orientation?

The purist who says this is quite correct -- it is possible to write workable Perl programs that use no object oriented features at all.

The pedant who says this is mostly correct -- Perl was not originally designed as an object oriented language.

The pooh-pooher who says this is uninformed -- Perl's object oriented features are powerful, elegant, simple, and incredibly Perlish.

When it comes down to brass tacks, not everything is an object in Perl. There are native types (scalars, arrays, and strings), functions can exist independent of classes, and very little from any programming discipline is rigidly enforced (or enforced at all). If you're into that sort of thing, Smalltalk is a real object oriented language and most other languages aren't.

(Those of us who actually do real work with OOPerl now and then will continue doing real work, no matter what they say.)

  • Comment on Re: Why is it said that Perl does not implement true object orientation?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-25 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found