Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^5: Object Oriented Orientation

by jdrago999 (Pilgrim)
on Aug 05, 2011 at 21:39 UTC ( [id://918867]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Object Oriented Orientation
in thread Object Oriented Orientation

Only two of those things are important to OOP, and arguably only one is vital.

I suppose you are referring to polymorphism and encapsulation.

Everything else in the list are simply common ways to implement those two aspects of OO. You are absolutely correct.

Replies are listed 'Best First'.
Re^6: Object Oriented Orientation
by chromatic (Archbishop) on Aug 05, 2011 at 22:05 UTC
    You are absolutely correct.

    I'm glad someone else agrees!

    That's why I question the recommendation to use Java to study OO. Certainly you can write good OO code in Java (I've seen it; may even have written it once or twice), but the language goes out of its way not to encourage that.

    Some sort of combination of Smalltalk and CLOS would fare much better, but Perl 6 is rather impractical for many uses and there's no "Learn OO with Moose" guide yet.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2024-03-28 14:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found