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

Re: Is Perl Truly an Object Oriented Language?

by gothic_mallard (Pilgrim)
on Dec 02, 2004 at 13:46 UTC ( [id://411753]=note: print w/replies, xml ) Need Help??


in reply to Is Perl Truly an Object Oriented Language?

A "true" object orientated language tends to be defined as one in which everything is an object from integers to operators and upwards.

Lanuages such as Ruby purport to be as such although I don't believe even that is 100% OO from what I've read (although I wouldn't quote me on that :))

--- Jay

All code is untested unless otherwise stated.
All opinions expressed are my own and are intended as guidance, not gospel; please treat what I say as such and as Abigail said Think for yourself.
If in doubt ask.

  • Comment on Re: Is Perl Truly an Object Oriented Language?

Replies are listed 'Best First'.
Re^2: Is Perl Truly an Object Oriented Language?
by Joost (Canon) on Dec 02, 2004 at 17:37 UTC
    AFAIK (I've been doing some reading on Ruby last couple of weeks) in Ruby everything (well, everything you can store or pass around; classes, literal strings, numbers, symbols, code blocks etc. etc.) really is an object.

    100% OO is something else, though. You still have some operators that aren't method calls, but not many; iterators like each and math ops like + and <=> etc. are just method calls in Ruby.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://411753]
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: (5)
As of 2024-04-25 14:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found